Just converted a test suite from Jest to Vitest
Just converted a test suite from Jest to Vitest.
The process:
1. Create vite.config.ts. Enable globals.
2. Replace “jest” with “vi” in tests.
Result with 422 unit tests, written in TypeScript:
Jest: 19 sec
Vitest: 24 sec
The Vitest config is simpler. Jest is faster.
