-
-
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
Failed test diffs are not coloured when multiple test suites are run in parallel on Node 6 #5817
Comments
I'm facing the same problem running under these conditions:
The highlighted errors were working when I was using |
Not for me. It fails right back to 22.0.0. 21.2.1 shows the colours as expected. 22.0.0 is the first release with the source code context shown in the diff so that might be related (see #5087). Actually looking at the release notes there were quite a few changes to |
Rather than speculating further I did a |
This issue is stale because it has been open for 1 year with no activity. Remove stale label or comment or this will be closed in 30 days. |
This issue was closed because it has been stalled for 7 days with no activity. Please open a new issue if the issue is still relevant, linking to this one. |
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?
Bug
What is the current behavior?
Repro here: https://github.com/gsteacy/jest-bug-repro. Running
npm test -- --no-cache
is sufficient.When Jest is running multiple test suites in parallel it does not show colours in the diffs for failed tests. Running the test again with
npm test -- --no-cache -i
so that they run serially will show the colours. Also, running the same tests on Node 8 works as expected.What is the expected behavior?
Diff is coloured
Please provide your exact Jest configuration
Defaults
Run
npx envinfo --preset jest
in your project directory and paste theresults here
The text was updated successfully, but these errors were encountered: