Skip to content
Snippets Groups Projects
  • david.bauer's avatar
    0ed409b2
    Change: Replace Jest with Vitest and improve test infrastructure · 0ed409b2
    david.bauer authored and david.bauer's avatar david.bauer committed
    - Replace Jest with Vitest for better ESM compatibility and Vite plugin testing
    - Fix flaky tests by implementing proper port collision handling
    - Each test now manages its own server instance instead of relying on a shared afterEach cleanup hook, eliminating race conditions and flaky test behavior
    - Enable test parallelization
    - Reduce CI noise and improve output clarity
    - Optimize build process by directly calling tsc instead of spawning new pnpm instances
    - Use much simpler eslint config
    
    This is all in preparation of the Vite 6 update, which was impossible to debug before.
    0ed409b2
    History
    Change: Replace Jest with Vitest and improve test infrastructure
    david.bauer authored and david.bauer's avatar david.bauer committed
    - Replace Jest with Vitest for better ESM compatibility and Vite plugin testing
    - Fix flaky tests by implementing proper port collision handling
    - Each test now manages its own server instance instead of relying on a shared afterEach cleanup hook, eliminating race conditions and flaky test behavior
    - Enable test parallelization
    - Reduce CI noise and improve output clarity
    - Optimize build process by directly calling tsc instead of spawning new pnpm instances
    - Use much simpler eslint config
    
    This is all in preparation of the Vite 6 update, which was impossible to debug before.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.