Skip to content

Test Commands

  • Snapshot date: 2026-02-21.
  • Observed status: 26 files passed / 217 tests passed.

Run from budgeti/backend:

Terminal window
pnpm test:init
pnpm test:unit
pnpm test:e2e
pnpm test:integration
pnpm test:all
pnpm test:cov
  • pnpm test:init: deploy test migrations.
  • pnpm test:unit: fast isolated checks.
  • pnpm test:e2e: HTTP-level module flows.
  • pnpm test:integration: OCR/voice real-call checks.
  • pnpm test:all: complete suite.
  • pnpm test:cov: full suite with coverage report.
  • Rate-limit middleware skips execution in tests (NODE_ENV=test).
  • Some integration tests require external credentials and network access.
  • Health endpoint smoke check is GET /health and is useful before full suite runs.