chore: bump vitest to 4.1.3 and group future updates#63
Merged
Conversation
Bumps vitest, @vitest/coverage-v8, @vitest/coverage-istanbul, and @vitest/ui together since they share an exact peer-dep on the same vitest version. This is what blocked PR #59 — Dependabot bumped only coverage-istanbul and left the others behind. Adds a Dependabot group for vitest packages so future bumps land in a single PR instead of failing with a peer-dep mismatch. Removes deps.optimizer.client.enabled from vitest.config.ts to work around vitest-dev/vitest#9887 — a regression in 4.1.x where importOriginal() in vi.mock factories fails with ERR_MODULE_NOT_FOUND because the deps optimizer cache-busting query string leaks into module resolution. The optimizer flag was a perf hint added at initial setup with no specific justification; full suite (2245 tests) still passes without it.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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.
Summary
Bumps
vitest,@vitest/coverage-v8,@vitest/coverage-istanbul, and@vitest/uito~4.1.3together. They share an exact peer-dep on the samevitestversion, which is what blocked #59 — Dependabot bumped only@vitest/coverage-istanbuland left the others behind.Adds a Dependabot group for
vitest+@vitest/*so future bumps land in one PR instead of failing with peer-dep mismatches.Removes
deps.optimizer.client.enabledfromvitest.config.tsto work around vitest-dev/vitest#9887 — a 4.1.x regression whereimportOriginal()invi.mockfactories fails withERR_MODULE_NOT_FOUNDbecause the deps-optimizer cache-busting query string leaks into module resolution. The flag was a perf hint added at initial setup with no specific justification; full suite (2245 tests, 140 files) still passes without it.Closes #59.