Skip to content

Testing

Terminal window
pnpm test:unit # fast, no Docker (in-memory)
pnpm test:integration # Postgres + pg-boss via testcontainers
pnpm lint # dependency-boundary check (scripts/check-boundaries.mjs)
pnpm typecheck # tsc --noEmit

Write your own workflows against createInMemoryWorkflowStore() + an in-process dispatcher (see examples/runtime.ts) for fast, deterministic unit tests; use createRecordingObserver() to assert the lifecycle.