-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
feat(vitest): allow per-file and per-worker fixtures #7704
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 36 commits into
vitest-dev:main
from
sheremet-va:feat/per-scope-fixtures
May 31, 2025
Merged
Changes from 35 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
5eaec14
feat(vitest): allow per-file and per-worker fixtures
sheremet-va 5f468a3
chore: better grammar
sheremet-va 3b6ad92
feat: draft implementation
sheremet-va 000c501
Merge branch 'main' of github.com:vitest-dev/vitest into feat/per-sco…
sheremet-va 988c409
chore: undo
sheremet-va 9df74d4
chore: validation
sheremet-va a5f9723
fix: validate worker/file scopes
sheremet-va 9ee54f3
chore: draft worker context
sheremet-va 3f5912b
chore: types
sheremet-va b846969
Merge branch 'main' of github.com:vitest-dev/vitest into feat/per-sco…
sheremet-va 5fb4a2d
test: fix custom pool
sheremet-va fda4b2e
refactor: move context to weakmap
sheremet-va 792ba86
chore: fix reporter output
sheremet-va 8782992
test: add initial tests
sheremet-va a3d6453
chore: delete
sheremet-va 2cc9557
chore: try teardown
sheremet-va c0bd699
Merge branch 'main' of github.com:vitest-dev/vitest into feat/per-sco…
sheremet-va 1ebb162
chore: typos
sheremet-va a710f2f
feat: use `teardown` from tinypool
sheremet-va 3262507
chore: remove unused
sheremet-va f78f4a4
test: fix tests
sheremet-va 8a2a41c
test: isolate false
sheremet-va f2189a7
fix: remove unused cleanup
sheremet-va b5dc60c
fix: support worker fixture in vmThreads
sheremet-va 8b735ce
test: add browser tests
sheremet-va a80a737
chore: remove only
sheremet-va 4f222d1
Merge branch 'main' of github.com:vitest-dev/vitest into feat/per-sco…
sheremet-va d1e67a4
chore: refactor ctx->vitest
sheremet-va 2236579
fix(pool): close ports and channel using `channel.onClose`
AriPerkkio cc378e4
Merge branch 'main' of github.com:vitest-dev/vitest into feat/per-sco…
sheremet-va 7a921c7
test: update tests
sheremet-va 6846346
chore: use a stable sequencer
sheremet-va 705b2c9
chore: update assertion for parallel tests
sheremet-va 3b275b5
chore: cleanup
sheremet-va f903811
Merge branch 'main' of github.com:vitest-dev/vitest into feat/per-sco…
sheremet-va 2bfa3ed
chore: review
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
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.
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.