Skip to content

Commit 57187c8

Browse files
author
Christopher J. Brody
committed
add Stryker Mutator
1 parent b819705 commit 57187c8

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,15 @@
1515
"uuid": "^3.3.2"
1616
},
1717
"devDependencies": {
18+
"@stryker-mutator/core": "^2.1.0",
19+
"@stryker-mutator/html-reporter": "^2.1.0",
20+
"@stryker-mutator/javascript-mutator": "^2.1.0",
1821
"nodeunit": "^0.11.3",
1922
"pegjs": "^0.10.0"
2023
},
2124
"scripts": {
2225
"pegjs": "node_modules/.bin/pegjs lib/parser/pbxproj.pegjs",
26+
"stryker": "stryker run",
2327
"test": "node_modules/.bin/nodeunit test/parser test"
2428
},
2529
"license": "Apache-2.0",

stryker.conf.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
module.exports = function(config) {
2+
config.set({
3+
mutator: "javascript",
4+
packageManager: "npm",
5+
reporters: ["html", "clear-text", "progress"],
6+
testRunner: "command",
7+
transpilers: [],
8+
coverageAnalysis: "all"
9+
});
10+
};

0 commit comments

Comments
 (0)