-
Notifications
You must be signed in to change notification settings - Fork 22
/
stryker.ng.conf.js
35 lines (33 loc) · 1.13 KB
/
stryker.ng.conf.js
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
35
/**
* @type {import('@stryker-mutator/api/core').StrykerOptions}
*/
module.exports = {
fileLogLevel: 'trace',
// logLevel: 'trace',
comment:
"This config was generated using a preset. Please see the handbook for more information: https://github.com/stryker-mutator/stryker-handbook/blob/master/stryker/guides/angular.md#angular",
mutate: [
"src/**/*.ts",
"!src/**/*.spec.ts",
"!src/test.ts",
"!src/environments/*.ts"
],
mutator: "typescript",
// mutator1:{
// name: "typescript",
// excludedMutations: ["EqualityOperator", "BooleanLiteral", "ConditionalExpression", "LogicalOperator", "StringLiteral", "MethodExpression"]
// },
testRunner: "karma",
karma: {
configFile: "src/karma.conf.js",
projectType: "angular-cli",
config: {
browsers: ["ChromeHeadless"]
}
},
reporters: ["progress", "clear-text", "html"],
maxConcurrentTestRunners: 4,
maxConcurrentTestRunners_comment:
"Recommended to use about half of your available cores when running stryker with angular",
coverageAnalysis: "off"
};