tests for fileOps.deleteFolder[...], istanbul for code coverage

This commit is contained in:
Danielv123 committed 2017-05-22 13:28:00 +02:00
1 parent 3d4fbfb3fa
commit ecc5b1c6ce
5 files changed
+42 -2

No files matched your search

+3 -1
View File
@@ -6,7 +6,8 @@
"scripts": {
"test": "npm run test-unit",
"test-unit": "SET NODE_ENV=test && mocha --recursive \"./{,!(node_modules)/**/}*.spec.js\" || echo .",
"start": "echo Run node client.js start [instance] to start slaves && node master.js"
"start": "echo Run node client.js start [instance] to start slaves && node master.js",
"cover": "./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha -- lib/*.js -R spec"
},
"keywords": [
"factorio"
@@ -40,6 +41,7 @@
},
"devDependencies": {
"chai": "^3.5.0",
"istanbul": "^0.4.5",
"mocha": "^3.4.1",
"mock-fs": "^4.3.0"
}