Migrate to Vitest
Closed this issue · 2 comments
2nofa11 commented
Tell us about your environment
- ESLint version: 9.x
- eslint-plugin-vue version: 10.3.0
- Node version: 22.15.1
The problem you want to solve.
Test execution could be improved: 11,059 tests take 74 seconds with Mocha in my enviroment.
Your take on the correct solution to problem.
Migrate to Vitest - PoC implemented with proven results.
PoC Results
Performance: 74s → 24.25s (67% faster)
Additional context
- All 11,059 tests pass without modification
- ESLint RuleTester compatibility
- Codemod.com recipe executed
- All dependencies updated
- test suite validated
ota-meshi commented
Thank you for your suggestions!
Performance: 74s → 24.25s (67% faster)
Wow, that's great! Please open a PR!
2nofa11 commented
I open a PR. Please check it when you are free 😄