Repository navigation
build(deps-dev): upgrade vitest and @vitest/coverage-v8 to 5.0.5 - #161
Merged
Merged
Conversation
Move the test runner to v5; the coverage provider is peer-locked to the exact same version, so both move together. • Bump `vitest` and `@vitest/coverage-v8` to `^5.0.5`. • No configuration changes were needed: `vitest.config.mjs` keeps the same `test.coverage` shape, reporters, and thresholds.
This was referenced Nov 1, 2026
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.
Upgrade the test runner to Vitest 5.
@vitest/coverage-v8pins the exact same Vitest version as its peer, so both move together — this supersedes #155 and #159, which cannot be merged safely one at a time (merging either alone leavesmainwith an unsatisfiable peer).• Bump
vitestand@vitest/coverage-v8to^5.0.5.• No configuration changes were needed:
vitest.config.mjskeeps the sametest.coverageshape, v8 provider, reporters, and thresholds.• Vitest 5 requires Node.js
^22.12.0 || ^24.0.0 || >=26.0.0, which the matrix now covers after #160. Node 20 and 23 are no longer usable for development, matching their EOL status.Verification
On Node.js 26.13.0:
npm test— 1,380 tests passed across 13 files.npm run coverage— thresholds pass: statements 95.66% (≥95), branches 91.93% (≥90), functions 95.83% (≥95), lines 95.54% (≥95);coverage/lcov.infostill produced for the workflow artifact.npm run lint:ciandnpm run build— passed.