Skip to content

chore: bump vitest to 4.1.3 and group future updates#63

Merged
wizzomafizzo merged 1 commit into
mainfrom
chore/bump-vitest-4.1.3
Apr 8, 2026
Merged

chore: bump vitest to 4.1.3 and group future updates#63
wizzomafizzo merged 1 commit into
mainfrom
chore/bump-vitest-4.1.3

Conversation

@wizzomafizzo

Copy link
Copy Markdown
Member

Summary

Bumps vitest, @vitest/coverage-v8, @vitest/coverage-istanbul, and @vitest/ui to ~4.1.3 together. They share an exact peer-dep on the same vitest version, which is what blocked #59 — Dependabot bumped only @vitest/coverage-istanbul and 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.enabled from vitest.config.ts to work around vitest-dev/vitest#9887 — a 4.1.x regression 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 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.

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

codecov Bot commented Apr 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@wizzomafizzo
wizzomafizzo merged commit f14c93f into main Apr 8, 2026
2 checks passed
@wizzomafizzo
wizzomafizzo deleted the chore/bump-vitest-4.1.3 branch April 8, 2026 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant