-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstryker.conf.js
More file actions
34 lines (32 loc) · 1.08 KB
/
Copy pathstryker.conf.js
File metadata and controls
34 lines (32 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
const path = require("path");
/**
* @type {import('@stryker-mutator/api/core').StrykerOptions}
*/
/*
awaiting stryker to fix compatibility with next's async jest-config: https://github.com/stryker-mutator/stryker-js/issues/3480
module.exports = {
_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: "jest",
jest: {
projectType: "custom",
configFile: path.resolve(__dirname, "jest.config.js"),
},
checkers: ["typescript"],
coverageAnalysis: "perTest",
tsconfigFile: "tsconfig.json",
};
*/
/**
* @type {import('@stryker-mutator/api/core').StrykerOptions}
*/
module.exports = {
_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: "command",
coverageAnalysis: "perTest",
};