-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathstryker.node.conf.js
33 lines (33 loc) · 992 Bytes
/
stryker.node.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
module.exports = function (config) {
config.set({
// fileLogLevel: 'trace',
// logLevel: 'trace',
files: [
'config/*.*',
'api/**/*.ts',
'!api/accounts/*.ts',
'!api/inviteUser/*.ts',
'!api/organisation/*.ts',
'!api/suspendUser/*.ts',
'!api/userList/*.ts',
'!api/common/*.ts'
],
mutate: ['api/**/*.ts', '!api/**/*.spec.ts', '!api/test/**/*.ts', '!api/common/*.spec.ts'],
mutator: 'typescript',
// transpilers: [
// 'typescript'
// ],
testFramework: 'mocha',
testRunner: 'mocha',
reporters: ['clear-text', 'progress', 'html'],
tsconfigFile: 'api/tsconfig.json',
mochaOptions: {
// opts:'api/test/mocha.opts',
files: ['api/{,!(test|accounts)/**/}*.spec.ts', '!(api/{accounts|inviteUser|organisation|suspendUser|userList|configuration|configurationUI}/index.spec.ts)'],
timeout: 5000
},
htmlReporter: {
baseDir: 'reports/tests/mutation/node/'
}
});
}