You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
22:41:37 (29261) INFO HtmlReporter Your report can be found at: file:///home/nicojs/tmp/vue-project/reports/mutation/mutation.html
22:41:37 (29261) INFO MutationTestExecutor Done in 3 seconds.
22:41:37 (29261) WARN ChildProcessTestRunnerProxy An unexpected error occurred during test runner disposal. This might be worth looking into. Stryker will ignore this error. StrykerError: TypeError: Cannot read properties of undefined (reading 'close')
Stryker config
{
"$schema": "./node_modules/@stryker-mutator/core/schema/stryker-schema.json",
"_comment": "This config was generated using 'stryker init'. Please take a look at: https://stryker-mutator.io/docs/stryker-js/configuration/ for more information.",
"packageManager": "npm",
"mutate": [
"{src,lib}/**/!(*.+(s|S)pec|*.+(t|T)est).+(cjs|mjs|js|ts|jsx|tsx|html|vue)",
"!{src,lib}/**/__tests__/**/*.+(cjs|mjs|js|ts|jsx|tsx|html|vue)"
],
"reporters": [
"html",
"clear-text",
"progress"
],
"testRunner": "vitest"
}
The cause is that StrykerJS will call dispose even if init was never called. Let us try to fix this in StrykerJS's core: from a test-runners perspective, it doesn't make sense to dispose without init.
Thanks for fixing this issue. I am integrating stryker-js in a small project with Vitest and I am facing this issue. Do you know when it will be available?
Summary
Stryker config
Test runner config
Stryker environment
Test runner environment
Add stryker.log
stryker.log
The text was updated successfully, but these errors were encountered: