-
-
Notifications
You must be signed in to change notification settings - Fork 159
chore(test): update to vitest 3 #1936
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
Conversation
|
🦋 Changeset detectedLatest commit: ba2e5ca The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
db65054
to
8c0f577
Compare
8c0f577
to
08949c5
Compare
@hey-api/client-axios
@hey-api/client-fetch
@hey-api/client-nuxt
@hey-api/client-next
@hey-api/nuxt
@hey-api/openapi-ts
@hey-api/vite-plugin
commit: |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1936 +/- ##
==========================================
- Coverage 29.03% 22.34% -6.69%
==========================================
Files 194 251 +57
Lines 26871 21026 -5845
Branches 724 781 +57
==========================================
- Hits 7802 4699 -3103
+ Misses 19063 16321 -2742
Partials 6 6
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
08949c5
to
9e5696a
Compare
9e5696a
to
690679d
Compare
541bc24
to
2e4751b
Compare
3ce7f3b
to
ff70dd8
Compare
ff70dd8
to
5ba2046
Compare
5ba2046
to
af0fda6
Compare
af0fda6
to
8ded79d
Compare
In this PR, we update Vite, Vitest, and linting dependencies and fix general dependency warnings.
In the changes, typescript had issues determining the types from the return types of mutations of @tanstack/*-query.
We updated mutations to have a return type explicitly.
This will cause a patch package bump in openapi-ts and update all snapshots involving a mutation using @tanstack/*-query.
We have moved to using base vite(st) configs to configure the runs easier and to change the Windows runs to use threads instead of forks as specified in the vitest common errors.
I am unsure why the code coverage was reduced by so much. Maybe I am missing some coverage files, more code is now counted in the coverage calculations, or the algorithm changed in the update.