-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Open
sheremet-va
wants to merge
49
commits into
vitest-dev:main
Choose a base branch
from
sheremet-va:12-08-feat_experimental_allow_disabling_the_module_runner
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
49 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 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
refactor: move the example to test/
- Loading branch information
commit 4786dd1c7ab91278cb49f08ff8669fd5e8445f5c
Some comments aren't visible on the classic Files Changed page.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about running this
test/nativeas fixture elsewhere with different options?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's what I am thinking too