Set the coverage npm script to use current specs
The coverage script was introduced in5c147b8d91, and the spec files were moved inc3ef232bf7. Also, correct a small typo.
This commit is contained in:
committed by
Paul Melnikow
parent
a086dca4de
commit
e17c15c00b
+1
-1
@@ -36,7 +36,7 @@
|
||||
"xml2js": "~0.4.16"
|
||||
},
|
||||
"scripts": {
|
||||
"coverage:test:js": "istanbul cover _mocha 'test/**/*.spec.js' --dir coverage/js",
|
||||
"coverage:test:js": "istanbul cover _mocha '*.spec.js' 'lib/*.spec.js' --dir coverage/js",
|
||||
"coverage:test:services": "istanbul cover _mocha --delay service-tests/runner/cli.js --dir coverage/services",
|
||||
"coverage:test": "npm run coverage:test:js && npm run coverage:test:services",
|
||||
"coverage:report": "istanbul report",
|
||||
|
||||
@@ -97,6 +97,6 @@ if (prOption !== undefined) {
|
||||
}
|
||||
|
||||
runner.toss();
|
||||
// Invoke run() asynchronously, beacuse Mocha will not start otherwise.
|
||||
// Invoke run() asynchronously, because Mocha will not start otherwise.
|
||||
process.nextTick(run);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user