-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
feat(experimental): option to disable the module runner #9210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
sheremet-va
merged 100 commits into
vitest-dev:main
from
sheremet-va:12-08-feat_experimental_allow_disabling_the_module_runner
Jan 21, 2026
Merged
Changes from all commits
Commits
Show all changes
100 commits
Select commit
Hold shift + click to select a range
2943ccf
feat(experimental): allow disabling the module runner
sheremet-va 085be59
fix: throw an error in vmForks/vmThreads
sheremet-va c25402a
feat: implement nativeModuleRunner
sheremet-va 318eb6b
chore: cleanup types
sheremet-va 0611b57
fix: watcher respects non-client/ssr environments
sheremet-va 3e4caa2
feat: support watch mode
sheremet-va 4e5464b
fix: support module.register
sheremet-va 3c40971
feat: support import.meta.vitest
sheremet-va c047490
chore: cli-config
sheremet-va b83f29c
chore: add sample project
sheremet-va 3fd5618
chore: cleanup
sheremet-va e4b0d2e
chore: cleanup
sheremet-va fe86182
feat: support automock, autospy and redirect mock types
sheremet-va 3f7e2b3
fix: show module as external in UI
sheremet-va 2273518
fix: run setup file for every test, execute in-source tests as separa…
sheremet-va 6c44609
feat: first implementation of factory mocking
sheremet-va 4091d0d
chore: collect
sheremet-va 0926f28
chore: refactor native module mocker
sheremet-va f76caa0
refactor: cleanup exports collection
sheremet-va d6f72bd
fix: support importActual and recursive factory
sheremet-va 086c47c
fix: support vi.importMock
sheremet-va 06a351e
fix: support mocking deps
sheremet-va 8b4f29b
fix(mocker): support top level import if dependency is not circular
sheremet-va f50aa81
fix: allow `export *` when automocking
sheremet-va a4e603e
test: add more tests
sheremet-va d458c67
fix: update loading errors
sheremet-va 34f1bb3
Merge branch 'main' of github.com:vitest-dev/vitest into 12-08-feat_e…
sheremet-va d3db1bf
chore: cleanup
sheremet-va b653ee3
chore: cleanup
sheremet-va 0ab2dab
fix: override is false by default
sheremet-va 69ca0d8
chore: cleanup
sheremet-va 4786dd1
refactor: move the example to test/
sheremet-va 5bb68aa
docs: cleanup
sheremet-va 74a84c4
chore: add try/catch
sheremet-va c81d363
Merge branch 'main' of github.com:vitest-dev/vitest into 12-08-feat_e…
sheremet-va f7def15
fix: listen for unhandled errors in vm pool
sheremet-va 3f96c63
fix(windows): support circular manual mock
sheremet-va f8ab6a5
chore: replace #test-loader with #nodejs-worker-loader
sheremet-va 34350d6
chore: remove a warning hint
sheremet-va fda5d88
docs: mention it works only in forks/threads
sheremet-va fa80150
chore: nitpicks
sheremet-va f8c558d
test: add imports from basic.ts
sheremet-va 3ded894
fix: move mock=actual resolution to worker loader
sheremet-va d99af1d
fix: load custom env with a regular import
sheremet-va f0c1ae2
chore: lint
sheremet-va 861e0d1
fix: wrong default
sheremet-va a5dc591
fix: load automocked builtins properly
sheremet-va c48303e
chore: support import on windows
sheremet-va a097b32
Merge branch 'main' of github.com:vitest-dev/vitest into 12-08-feat_e…
sheremet-va d21b3a8
chore: use `process.setSourceMapsEnabled` if available
sheremet-va 694f9e9
chore: document limitation of mocking builtins
sheremet-va 3c5f534
chore: don't mock anything inside node_modules for now
sheremet-va bf901f3
Merge branch 'main' of github.com:vitest-dev/vitest into 12-08-feat_e…
sheremet-va 9bb9ef7
chore: add a comment
sheremet-va f1f1d72
chore: review
sheremet-va d47477e
Merge branch 'main' of github.com:vitest-dev/vitest into 12-08-feat_e…
sheremet-va 892e8e2
chore: cleanup
sheremet-va ea60b20
fix: check before ?
sheremet-va afe7ef9
chore: lockfile
sheremet-va 485f627
chore: add `describe`
sheremet-va fa5674e
chore: cleanup
sheremet-va 01d64d0
chore: cleanup
sheremet-va 7206421
test: add a cts test
sheremet-va 2df65e4
chore: cleanup
sheremet-va cca67da
refactor: use a util to run no-module-runner tests
sheremet-va b84b160
Merge branch 'main' of github.com:vitest-dev/vitest into 12-08-feat_e…
sheremet-va 2dc04b9
chore: cleanup
sheremet-va 8586581
Merge branch 'main' of github.com:vitest-dev/vitest into 12-08-feat_e…
sheremet-va 75f7d04
test: move native tests
sheremet-va f4a8bb4
chore: fix v8 support
sheremet-va 630c595
chore: cleanup
sheremet-va 5dc2d19
chore: use local-pkg instead
sheremet-va 2f6680d
test: add v8 coverage test
sheremet-va af5f13a
chore: add comment
sheremet-va 4a65754
test: add watch and snapshot tests
sheremet-va 1dcf484
fix: respect transform mode
sheremet-va 229d3d7
chore: lint
sheremet-va 89b324b
test: remove only
sheremet-va 3dd5e62
chore: pass down url
sheremet-va d2fcd47
chore: convert to path
sheremet-va 79064fc
chore: cleanup
sheremet-va be09438
chore: cleanup
sheremet-va e9512ae
chore: fix query params
sheremet-va cb4a7ed
test: make coverage test more stable
sheremet-va 2dc9546
chore: oops
sheremet-va 2cf4de4
docs: add notes
sheremet-va 8155942
test(coverage): native runner with v8
AriPerkkio 41d181e
fix: proper `startOffset` when `import.meta.vitest` without module ru…
AriPerkkio 045179e
Merge branch 'main' of github.com:vitest-dev/vitest into 12-08-feat_e…
sheremet-va f27507b
Merge branch 'main' of github.com:vitest-dev/vitest into 12-08-feat_e…
sheremet-va 04ae041
test(coverage): exclude node 20 tests if registerHooks is not available
sheremet-va 8b10b8a
fix: use IMPORT_META_TEST() function instead of appending IMPORT_META…
sheremet-va 85ba069
test: don't process node_modules
sheremet-va 74d009a
chore: include vitest/cjs-lib in deps optimisation
sheremet-va 5d9db1a
test: remove try/catch
sheremet-va 33750a0
test: pass down skip
sheremet-va 6c663fd
refactor(coverage): what is this madness
sheremet-va 6c6d6ba
chore: cleanup
sheremet-va cf69ac8
test: be conservative with what is included
sheremet-va a6fa2ab
test: fix dynamic test import
sheremet-va File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.