-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Parallel testing using the new globalSetup feature #6063
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
Comments
This is a duplicate of #5731 but I thought I'd use the issue template and create a small repo for you folks to replicate this issue more easily. |
Local tests need to be inband too, while jestjs/jest#6063 is still open.
Can you repost this message in mentioned thread? I appreciate the effort, but let's keep this issue tracker clean :). |
Sure, done. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Do you want to request a feature or report a bug?
A bug.
What is the current behavior?
If there are more than 1 tests, running Jest with
--runInBand
will succeed, but without will fail.If the current behavior is a bug, please provide the steps to reproduce and
either a repl.it demo through https://repl.it/languages/jest or a minimal
repository on GitHub that we can
yarn install
andyarn test
.Pull down https://github.com/ojongerius/jest-bug, running
yarn test
will fail andyarn test-inband
will succeed.What is the expected behavior?
Running more n+1 tests will succeed
Please provide your exact Jest configuration
Run
npx envinfo --preset jest
in your project directory and paste theresults here
The text was updated successfully, but these errors were encountered: