Recipes
Testing
Run unit tests with Vitest.
Testing
Unit tests
Vitest runs per package (cached by Turborepo) and via Vitest Projects for local watch mode.
# CI / full monorepo run (Turborepo cache)
pnpm test
# Unified local run
pnpm test:projects
pnpm test:projects:watch
# Coverage
pnpm test:coverage
pnpm test:coverage:viewShared config lives in @repo/vitest-config. Packages that opt in define vitest.config.ts and a test script (see @repo/validations and @repo/shared).
E2E
Playwright covers SaaS browser flows (auth, dashboard) in the full TurboJet monorepo. See E2E testing.