Repository navigation
chore: migrate node:test tests to vitest - #317
Merged
cryptodev-2s merged 4 commits intoNov 17, 2026
Merged
cryptodev-2s merged 4 commits into
cryptodev-2s merged 4 commits into
Conversation
cryptodev-2s
force-pushed
the
chore/migrate-node-test-to-vitest
branch
from
November 12, 2026 10:08
53fe78b to
8b4c37c
Compare
cryptodev-2s
force-pushed
the
chore/migrate-node-test-to-vitest
branch
from
November 12, 2026 10:15
8b4c37c to
4fd36ad
Compare
cryptodev-2s
force-pushed
the
chore/migrate-node-test-to-vitest
branch
from
November 12, 2026 10:21
4fd36ad to
912de37
Compare
cryptodev-2s
force-pushed
the
chore/migrate-node-test-to-vitest
branch
from
November 12, 2026 10:25
912de37 to
23fa3c5
Compare
cryptodev-2s
force-pushed
the
chore/migrate-node-test-to-vitest
branch
2 times, most recently
from
November 12, 2026 13:04
97caa82 to
ffddff6
Compare
cryptodev-2s
force-pushed
the
chore/migrate-node-test-to-vitest
branch
from
November 12, 2026 18:44
ffddff6 to
1efb5d5
Compare
cryptodev-2s
force-pushed
the
chore/migrate-node-test-to-vitest
branch
from
November 16, 2026 10:06
1efb5d5 to
64b9cc4
Compare
cryptodev-2s
force-pushed
the
chore/migrate-node-test-to-vitest
branch
from
November 16, 2026 10:11
64b9cc4 to
0a8612e
Compare
cryptodev-2s
force-pushed
the
chore/migrate-node-test-to-vitest
branch
from
November 16, 2026 10:25
0a8612e to
e9ccb89
Compare
cryptodev-2s
force-pushed
the
chore/migrate-node-test-to-vitest
branch
2 times, most recently
from
November 16, 2026 10:49
b68613c to
83225c8
Compare
cryptodev-2s
force-pushed
the
chore/migrate-node-test-to-vitest
branch
from
November 16, 2026 11:02
83225c8 to
0b4ec41
Compare
cryptodev-2s
force-pushed
the
chore/migrate-node-test-to-vitest
branch
from
November 16, 2026 14:00
0b4ec41 to
d1601ae
Compare
cryptodev-2s
force-pushed
the
chore/migrate-node-test-to-vitest
branch
from
November 16, 2026 14:25
d1601ae to
77758a5
Compare
cryptodev-2s
marked this pull request as ready for review
November 16, 2026 14:58
cryptodev-2s
force-pushed
the
chore/migrate-node-test-to-vitest
branch
from
November 16, 2026 15:10
77758a5 to
4e08f2e
Compare
Mrtenz
reviewed
Nov 16, 2026
| "vitest/no-conditional-in-test": { | ||
| "count": 3 | ||
| }, | ||
| "vitest/prefer-to-have-length": { |
Member
There was a problem hiding this comment.
Can we fix these instead of adding suppressions? A lot of these seem easy to fix at least.
cryptodev-2s
force-pushed
the
chore/migrate-node-test-to-vitest
branch
3 times, most recently
from
November 17, 2026 09:46
5ca7ea3 to
f22e45c
Compare
cryptodev-2s
force-pushed
the
chore/migrate-node-test-to-vitest
branch
from
November 17, 2026 10:27
7e4b75f to
b6b3dfa
Compare
Mrtenz
approved these changes
Nov 17, 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.
Moves the node:test tests under .github to vitest as their own project, fixing the vitest lint violations instead of suppressing them, and counts the workflow scripts in coverage with one combined threshold (reset to about 41%).
Note
Low Risk
Test-runner and lint-config only; production workflow behavior is unchanged aside from how tests are executed and measured.
Overview
Unifies
.githubworkflow tests under Vitest instead ofnode:testplus a separatenode --testpass: assertions switch toexpect, mocks usevi, and the roottestscript runs onlyvitest run --coverage.vitest.config.mtsgains aworkflow-scriptsproject (30s timeout for git-heavy tests) alongsidesrc, and coverage now includes.githubimplementation files with combined thresholds reset to ~41%. Oxlint drops the old node-test override and test-file suppressions by aligning rules for Vitest and allowing sync/env usage in tests and workflow scripts.Reviewed by Cursor Bugbot for commit b6b3dfa. Bugbot is set up for automated code reviews on this repo. Configure here.