-
Notifications
You must be signed in to change notification settings - Fork 250
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
Running Stryker mutator 3.0.2 with Jest 25.2 fails all mutations #2122
Comments
Could you please send generated file with logs instead of copy-paste? It will be more readable for us. Thank you :) |
Hi sorry, i didnt know i can upload files. i have upgraded stryker to 3.0.2 when upgraded to the latest jest version (2.5.2) the stryker ran, but all mutations survived.... Stryker environment "jest": "^25.2.2", Your Environment software version(s) |
I've been able to reproduce this issue with a simple jest example. I've added it as an e2e test and will now try to figure out what's wrong. |
As a workaround: set this in your Stryker config: "jest": {
"enableFindRelatedTests": false
} |
Since the build on Linux succeeds this is an issue on Windows only. See #2125. Will investigate more |
I've opened jestjs/jest#9728 Known workarounds (descending order of convenience):
|
OK, thanks, i will try the workarounds. |
Is this issue still valid? there were some fixes and workarounds now. |
Yes, quite relevant. I want to keep this issue open for users looking for it. Let's hope someone can fix jestjs/jest#9728 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Problem is fixed in Jest. If you encounter this issue, please upgrade jest to the latest version |
Summary
i have upgraded stryker to 3.0.2
using jest
when jest version was ^24.9.0", stryker run perfectly
when upgraded to the latest jest version (2.5.2) the stryker ran, but all mutations survived....
Stryker config
Test runner config
Jest
Stryker environment
Your Environment
Add stryker.log
You can drag and drop it here. -->
The text was updated successfully, but these errors were encountered: