test(ci): migrate suite to Vitest - #82
Merged
Merged
Conversation
Replace the custom node:test scheduler and reporter with Vitest default, GitHub Actions, and JUnit reporting so failures identify their owning file, test, assertion, and source location in the main CI log. Migrate the existing lifecycle APIs without rewriting assertions, document the new focused-test commands, and retain fork isolation across the 91-file suite. Validated with npm test (91 files, 1305 tests), focused CI/JUnit and Job Summary checks, npm ci, the doc-link graph suite, and npm run pack:verify. Co-authored-by: Codex (GPT 5.6 Sol) <codex@openai.com>
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
node:testcapability scheduler and reporter with Vitest 4.1.10Spec
docs/specs/2026-08-13-vitest-migration.mdValidation
npm cinpm test— 91 files, 1,305 testsnpm run pack:verify— 508 npm entries, 530 runtime zip entriesgit diff --checkMerge gate
Do not merge until the exact PR head passes Linux Node 22.20.0, macOS Node 22.20.0, Windows Node 22.20.0, and Linux Node 24.x.