Repository navigation
test: run local-nodes packages on Vitest - #10955
Merged
Merged
Conversation
cryptodev-2s
force-pushed
the
test/vitest-local-nodes
branch
2 times, most recently
from
October 21, 2026 12:16
a94d664 to
30933ef
Compare
cryptodev-2s
force-pushed
the
test/vitest-local-nodes
branch
from
October 21, 2026 19:09
30933ef to
03b1405
Compare
cryptodev-2s
marked this pull request as ready for review
October 22, 2026 10:55
cryptodev-2s
enabled auto-merge
October 22, 2026 10:57
This branch was successfully deployed
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.
Explanation
Moves
@metamask/bitcoin-regtest-up,@metamask/java-tron-up,@metamask/local-node-utils,@metamask/solana-test-validator-up,@metamask/stellar-quickstart-up, and@metamask/config-registry-controllerto Vitest.References
Checklist
no-changeloglabel.Note
Low Risk
Test-runner and devDependency changes only; production source is untouched aside from test file API swaps.
Overview
Migrates six workspaces from Jest to Vitest: local-node installers (
bitcoin-regtest-up,java-tron-up,solana-test-validator-up,stellar-quickstart-up), sharedlocal-node-utils, andconfig-registry-controller.Each package drops
jest.config.cjsand Jest-related devDependencies, adds avitest.config.tsmerged from the shared package base (with prior coverage thresholds and CLI bin exclusions preserved), and pointstestscripts atvitest. Tests are updated to import fromvitestand useviinstead ofjest(including fake timers andvi.mock(import(...))inlocal-node-utils). TypeScript configs no longer include Jest types.test-runner-package-map.cjsremoves these packages fromPACKAGES_ON_JEST, andoxlint-suppressions.jsonis adjusted (removedjest.config.cjsentries; addedvitest/no-conditional-in-testsuppressions for some install tests).Reviewed by Cursor Bugbot for commit 7ebc022. Bugbot is set up for automated code reviews on this repo. Configure here.