stryker-mutator / stryker-js

Mutation testing for JavaScript and friends
https://stryker-mutator.io
Apache License 2.0
2.58k stars 246 forks source link

Mutation scan fails but all test cases are passing with node 18 #4416

Open vikhil1999 opened 1 year ago

vikhil1999 commented 1 year ago

**Question

Mutation scan fails but all test cases are passing

Stryker environment

+-- @stryker-mutator/core@4.6.0 with stryker-cli@1.0.1
+-- jest@29.5.0

Additional context

Mutation scan fails but all the test cases are passing. If you have come across same scenario can you please share those details, if not can you analyse why is this happening and provide the fix for it, so we can run mutation scan for our repo.

nicojs commented 11 months ago

Hi @vikhil1999, welcome.

Without more details, it is difficult to know what might be wrong.

Can you provide:

I also noticed that you are using an older version of StrykerJS. Please upgrade to the latest version.