-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
feat: provide ctx.signal
#7878
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
Merged
feat: provide ctx.signal
#7878
Changes from 12 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
790839f
feat: provide `ctx.signal`
sheremet-va 8c11cab
chore: provide AbortController to the context
sheremet-va 77b82f6
chore: do terrible things
sheremet-va cb6a34a
chore: cleanup
sheremet-va 9b6e2e8
fix: correctly pass down test context
sheremet-va 2a82895
docs: add signal and make context readonly
sheremet-va 87894a4
chore: cleanup
sheremet-va a17b569
docs: add signal, update task
sheremet-va 5513709
chore: make expect a readonly
sheremet-va c514e1a
docs: expand signal info
sheremet-va d0b3fe6
test: add signal tests
sheremet-va a13f3f9
refactor: naming
sheremet-va 3f7e108
chore: comments
sheremet-va f04fafa
fix: correctly remove the concurrent test
sheremet-va 66aa36c
chore: add reason, change AbortError to TestRunAbortError
sheremet-va 01f4a2a
docs: add abortsignal link in the context docs
sheremet-va ace7edd
chore: remove unneded idx
sheremet-va ce6c13b
Merge branch 'main' of github.com:vitest-dev/vitest into feat/provide…
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.