-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
chore(types): migrate from jest to vitest
#10776
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(types): migrate from jest to vitest
#10776
Conversation
|
Thanks for the PR, @aryaemami59! typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community. The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately. Thanks again! 🙏 Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently on https://opencollective.com/typescript-eslint. |
✅ Deploy Preview for typescript-eslint ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
|
View your CI Pipeline Execution ↗ for commit 20f7c25.
☁️ Nx Cloud last updated this comment at |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #10776 +/- ##
=======================================
Coverage 90.82% 90.82%
=======================================
Files 497 497
Lines 50204 50204
Branches 8274 8274
=======================================
Hits 45600 45600
Misses 4589 4589
Partials 15 15
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
f824e6b to
82abbe3
Compare
45132fa to
77ecac2
Compare
|
Marking as blocked on #10582. We'd like to normalize test scripts & coverage calculations before making the jump in individual packages. |
77ecac2 to
92e6e1e
Compare
217ccc6 to
6e15553
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK on the passWithNoTests: true, this looks good to start - thanks!
f30a20e
into
typescript-eslint:main
* Install `vitest` * Rename `jest.config.js` to `vitest.config.mts` * chore(types): migrate to `vitest` * Fix Vitest config * Include `vitest.config.mts` in `tsconfig.spec.json` * Explicitly enable `resolveJsonModule` * Use `.replace` instead of `.split` * Type check `vitest.config.mts` files using project references. * Fix Vitest config * Update `vitest` to version 3.1.1 * Update `@vitest/eslint-plugin` to version 1.1.39 * Fix `knip` * Update `vite` to version 6.2.5 * Update `vite` to version 6.2.6 * Update `@vitest/eslint-plugin` to version 1.1.40 * Update `@vitest/eslint-plugin` to version 1.1.42 * Enable the new `vitest/prefer-describe-function-title` rule * Use `vitestPlugin.configs.env` * Try disabling remote cache * Try disabling remote cache * Try disabling remote cache * Run `ast-spec:typecheck` during `postinstall` script * Update `typecheck` output path in `nx.json` * Fix `vitest` coverage output when run with `nx` --------- Co-authored-by: Josh Goldberg <[email protected]>

PR Checklist
Overview