Skip to content

Commit 8173e16

Browse files
authored
Merge pull request #258 from wolfgang42/fix-coverage
Fix coverage crash & update contributing documentation
2 parents ef0504c + e65dc79 commit 8173e16

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ npm test
3434
To check the code coverage is still great:
3535
```
3636
npm run coverage
37-
google-chrome ./coverage.html
37+
google-chrome ./coverage/lcov-report/index.html
3838
```
3939

4040
To see code complexity statistics:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"scripts": {
5858
"test": "node ./node_modules/mocha/bin/mocha --require use-strict -S -R spec ./test/*.js",
5959
"start": "node example/server.js",
60-
"coverage": "istanbul cover ./node_modules/mocha/bin/_mocha -- -R spec",
60+
"coverage": "istanbul cover ./node_modules/mocha/bin/_mocha -- -S -R spec",
6161
"complexity": "node ./node_modules/plato/bin/plato -r -d complexity lib",
6262
"performance": "node --allow-natives-syntax --harmony ./node_modules/mocha/bin/_mocha -S --reporter mocha-performance ./test/*.js",
6363
"lint": "node ./node_modules/eslint/bin/eslint ./example ./lib ./test --quiet && echo '✔ All good!'",

0 commit comments

Comments
 (0)