PlatformoctaflowRunning it

View as Markdown

Testing

Fast deterministic tests against the in-memory store.

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.

From octaflow@0.44.0 in the platform repository, MIT-licensed.npm