Skip to content

Commit

Permalink
Set the coverage npm script to use current specs
Browse files Browse the repository at this point in the history
The coverage script was introduced in 5c147b8,
and the spec files were moved in c3ef232.

Also, correct a small typo.
  • Loading branch information
espadrine authored and paulmelnikow committed Apr 28, 2017
1 parent a086dca commit e17c15c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion service-tests/runner/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit e17c15c

Please sign in to comment.