diff --git a/.gitignore b/.gitignore index 837293632d..73bdea957e 100644 --- a/.gitignore +++ b/.gitignore @@ -74,4 +74,6 @@ link-plugins.sh test.sh .docker/** -!**/.gitkeep \ No newline at end of file +!**/.gitkeep +# stryker temp files +.stryker-tmp diff --git a/stryker.config.mjs b/stryker.config.mjs new file mode 100644 index 0000000000..c4f2702f7c --- /dev/null +++ b/stryker.config.mjs @@ -0,0 +1,13 @@ +// @ts-check +/** @type {import('@stryker-mutator/api/core').PartialStrykerOptions} */ +const config = { + _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", + reporters: ["html", "clear-text", "progress"], + testRunner: "mocha", + testRunner_comment: + "Take a look at https://stryker-mutator.io/docs/stryker-js/mocha-runner for information about the mocha plugin.", + coverageAnalysis: "perTest", +}; +export default config;