-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathstryker.conf.js
More file actions
40 lines (39 loc) · 757 Bytes
/
Copy pathstryker.conf.js
File metadata and controls
40 lines (39 loc) · 757 Bytes
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
36
37
38
39
40
/**
* Stryker mutation testing config.
*
* To debug particular file:
* npm run stryker -- -m src/reply.js
*/
module.exports = function (config) {
config.set({
mutate: [
'src/**/*.js',
'!src/index.js'
],
mutator: {
name: 'javascript',
excludedMutations: [
'EqualityOperator',
'ArithmeticOperator',
]
},
packageManager: 'npm',
reporters: ['clear-text', 'progress'],
testRunner: 'mocha',
mochaOptions: {
spec: [
'test/setup.js',
'test/specs/**/*.js',
],
},
transpilers: [],
testFramework: 'mocha',
coverageAnalysis: 'perTest',
logLevel: 'info',
thresholds: {
high: 95,
low: 95,
break: 100
}
});
};