Open ericcornelissen opened 5 days ago
I think it was the pull request mochajs/mocha#5086 (released in Mocha v10.5.1) that broke Stryker. The collect-files
method no longer returns the list of files
, but an object with the list of files
and the list of unmatchedFiles
:
- return files;
+ return {
+ files,
+ unmatchedFiles
+ };
Summary
After upgrading from Mocha v10.2.0 to Mocha v10.5.2 the
@stryker-mutator/mocha-runner
started producing an error indicating incompatibility. In particular it seems to be callingtestFileNames.forEach
which no longer exists:Stryker config
Test runner config
Stryker environment
Test runner environment
Your Environment
Add stryker.log