Technology RadarTechnology Radar
Adopt

Vitest is a Vite-native test runner that offers fast, modern unit and integration testing with built-in TypeScript and JSX support.

At ProcureAI, Vitest is the default test runner for all TypeScript applications and packages in our Nx monorepo, covering unit and integration tests for React and Node targets. We run it in jsdom, node, and browser modes, integrate with Testing Library, and use it locally for TDD and in CI with coverage reporting. We can integration-test with Prisma against a real PostgreSQL database by giving each worker its own schema and wrapping each test in a transaction that rolls back automatically, keeping tests isolated and fast while running in parallel.