-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Run with Jest Circus when passing the JEST_CIRCUS env variable as 1 #6285
Conversation
This will: 1. Make it easy to run a test locally with Jest Circus 2. Enable us to flag individual tests as known to be failing on Jest Circus. 3. Make it easy to run Jest Circus on other code bases. 4. Once 2 is complete, we can setup a second CI run that uses Jest Circus to ensure we don't regress.
scripts/SkipOnJestCircus.js
Outdated
|
||
/* eslint-disable jest/no-focused-tests */ | ||
|
||
const SkipOnWindows = { |
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.
SkipOnJestCircus
:)
Very cool |
Mind creating an issue to remove this env var once circus is shipped? |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Summary
Relates to #4362
You can now run our test with:
JEST_CIRCUS=1 ./jest
and it will use Jest circus.This will:
Circus.
Circus to ensure we don't regress.
Test plan
@aaronabramov