-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstryker.conf.js
40 lines (40 loc) · 900 Bytes
/
stryker.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
36
37
38
39
40
"use strict";
/**
* @type {import('@stryker-mutator/api/core').StrykerOptions}
*/
module.exports = {
mutator: "javascript",
packageManager: "yarn",
reporters: ["html", "clear-text", "progress"],
testRunner: "mocha",
transpilers: [],
testFramework: "mocha",
coverageAnalysis: "perTest",
mochaOptions: {
// Optional mocha options
spec: [
'test/interface.test.js',
'test/parse.test.js',
'test/parseInfo.test.js',
'test/validate.test.js',
'test/Schema.test.js',
'test/SchemaRegistry.test.js',
'test/SyntaxError.test.js',
'test/ValidationError.test.js',
'test/Annotation.test.js',
// 'test/syntax-suite.test.js',
// 'test/schema-suite.test.js',
],
},
mutate: [
'index.js',
'lib/*.js',
],
files: [
'index.js',
'lib/*.js',
'test/*.test.js',
'test/vendor-syntax-suite/test_parsing/*.json',
'test/vendor-schema-suite/tests/**/*.json',
],
};