jestjs/jest
[Bug]: workerThreads break --watch-all when function does not meet expected.
Offen
#14.423 geöffnet am 17.08.2023
:bug: BugHelp WantedPinned
Repository-Metriken
- Stars
- (45.361 Sterne)
- PR-Merge-Metriken
- (Durchschn. Merge 11T 22h) (11 gemergte PRs in 30 T)
Beschreibung
Version
29.6.2
Steps to reproduce
- Clone my repo at: https://github.com/roffelund/jest-function-expect-bug
- yarn
- yarn test test.test.js --watch-all
Expected behavior
I expected the test to show that the expected and received do not match.
Actual behavior
Test stops running with exception
Additional context
This only happens when running with workers. Turning off workers expected behaviour works fine.
Environment
System:
OS: macOS 13.4
CPU: (10) arm64 Apple M1 Pro
Binaries:
Node: 18.17.0 - /opt/homebrew/opt/node@18/bin/node
Yarn: 1.22.19 - /opt/homebrew/bin/yarn
npm: 9.6.7 - /opt/homebrew/opt/node@18/bin/npm
npmPackages:
jest: 29.6.2 => 29.6.2