@agentsworklog/api-testing
v0.1.9
Published
Downstream test harness (makeTestApp) for AgentsWorklog feature modules — shipped as source.
Maintainers
Readme
@agentsworklog/api-testing
The downstream test harness for
AgentsWorklog feature
modules. makeTestApp builds a fully composed app (in-memory SQLite, fake
GitHub client, fixed clock, sequential ids) from the @agentsworklog/api-core
public barrel — so a downstream repo can integration-test its own modules
against a real app without vendoring core internals.
Shipped as TypeScript source (consume it through your own vitest/tsc).
Install
npm install -D @agentsworklog/api-testingUsage
import { makeTestApp, devSessionCookie } from '@agentsworklog/api-testing';
import { coreModule } from '@agentsworklog/api-core';
const { app } = await makeTestApp({ modules: [coreModule, yourModule] });License
NFSL-1.0-MIT © Walnut Tree Studios — source-available; each release automatically converts to the MIT license 10 years after it is published.
