Repository navigation
chore(vitest): update to vitest 5 - #183
Closed
JuanGalilea wants to merge 1 commit into
Closed
JuanGalilea wants to merge 1 commit into
JuanGalilea wants to merge 1 commit into
Conversation
Member
|
This is quite annoying that we would have to force users to stay on lower or higher vitest version. We should figure out some better way for this. |
Contributor
Author
|
since there are breaking changes in basic APIs (we use) from v3 to v5 i doubt the solution will be nice 😢 |
Member
|
We would have to decouple out solution from vitest or make it so it supports any version in a range |
4 tasks done
metalwarrior665
pushed a commit
that referenced
this pull request
Nov 12, 2026
The lib's peer range is `vitest >=5.0.0` and the package needs the Node.js versions vitest 5 runs on (22.12+, 24 or 26+). Ports the soft `expect` wrapper and the matcher typings to vitest 5's `Assertion` from #183. The repo's own tests run on vitest 5.0.5, with esbuild 0.28.2, which vite 8 needs. Vitest 4 and newer no longer exclude `dist` by default, and `test`'s folder filters match a compiled copy like `dist/test/platform/a.test.js` too, so `test` passes `--exclude=**/dist/**`, on top of the repository's own excludes. This repo's vitest config excludes `dist` and the CLIs compiled for its tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016XtpQw9Dj33AVeATjriAiu
Member
|
Seems to be superseeded by #252, feel free to reopen if needed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
solves #179
This one might not be safe to merge tho 😢