Skip to content

Commit db1fe34

Browse files
committed
Replaced istanbul with nyc for code coverage
1 parent 0b0410c commit db1fe34

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
/node_modules
21
/.idea
2+
/.nycrc
3+
/.nyc_output
34
/.vscode
45
/coverage
6+
/node_modules
57
__*

.npmignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
/.eslintrc.yaml
55
/.gitignore
66
/.idea
7+
/.nycrc
8+
/.nyc_output
79
/.travis.yml
810
/.vscode
911
/coverage

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "index.js",
66
"scripts": {
77
"test": "mocha test --recursive",
8-
"coverage": "istanbul cover ./node_modules/.bin/_mocha -- test --recursive",
8+
"coverage": "nyc mocha test --recursive",
99
"lint": "eslint ."
1010
},
1111
"repository": {
@@ -28,8 +28,8 @@
2828
"codeclimate-test-reporter": "^0.5.0",
2929
"eslint": "^4.18.1",
3030
"eslint-config-xo": "^0.20.1",
31-
"istanbul": "^0.4.5",
3231
"mocha": "^5.0.1",
32+
"nyc": "^11.4.1",
3333
"sinon": "^4.4.2"
3434
}
3535
}

0 commit comments

Comments
 (0)