Repository navigation
V52.1: Vitest 5, measured against Vitest 4 - #115
Merged
Merged
Conversation
- vitest and @vitest/coverage-v8 4.1.11 -> 5.0.3 - 924 unit tests pass unchanged (clearMocks now defaults to true; no test relied on accumulated calls) - coverage moves by rounding only, every V49 floor still met - timings inside noise: coverage 124-143 s (v4) vs 131-134 s (v5) - engines node >=20 -> >=22.12 (Vitest 5 floor); README updated - PLAN/CHANGELOG: V52.1 delivered, version 1.52.0 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ELAjHYDyxa5zbbdcke1bMA
dapiced
marked this pull request as ready for review
October 9, 2026 11:43
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
This is the first of V52's three major upgrades, each in its own PR as V44 requires: Vitest, then vite-plugin-pwa, then TypeScript 7.
Before touching anything
toThrow(''),sequential,bench, the removedvitest/*entrypoints, andvi.mockcalls that are not at file top level. None were present.Measured on the same machine and commit
test:coverage, 3 runsvitest runChanges that could have shifted results silently, and what happened
clearMocksnow defaults totrue. All tests still pass, so none relied on mock calls accumulating across tests.include/excludepaths are now resolved relative to the project root. The numbers move only by rounding: the statement count drops by five. Every V49 coverage floor is still met.Node version
enginesgoes from>=20to>=22.12, and the README says so..nvmrcalready use Node 22.Docs
PLAN.mdgets a V52.1 row.CHANGELOG.mdis regenerated and the version becomes 1.52.0.Test plan
npm run test:coverage: 924 passed, all floors metlint,typecheck,format:check,buildnpm auditgates (prod high, all critical): clean🤖 Generated with Claude Code
https://claude.ai/code/session_01ELAjHYDyxa5zbbdcke1bMA
Generated by Claude Code