Skip to content

Commit 1f36646

Browse files
authored
Adding code coverage to test command using istanbul + nyc (#40)
Adding code coverage to test command using istanbul + nyc
1 parent 79af1a1 commit 1f36646

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
# misc
1212
/.sass-cache
13+
/.nyc_output
1314
/connect.lock
1415
/coverage/*
1516
/libpeerconnection.log

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "eslint-plugin-ember-best-practices",
3-
"version": "0.2.0",
3+
"version": "0.3.0",
44
"description": "Eslint rules for linting for anti-patterns in Ember applications.",
55
"main": "lib/index.js",
66
"directories": {
77
"doc": "doc",
88
"test": "tests"
99
},
1010
"scripts": {
11-
"test": "mocha --recursive tests",
11+
"test": "nyc mocha --recursive tests",
1212
"test-server": "mocha --recursive --growl --watch tests"
1313
},
1414
"repository": "",
@@ -25,7 +25,8 @@
2525
"devDependencies": {
2626
"eslint": "^3.11.1",
2727
"mocha": "^3.2.0",
28-
"mocha-eslint": "^3.0.1"
28+
"mocha-eslint": "^3.0.1",
29+
"nyc": "^10.0.0"
2930
},
3031
"dependencies": {
3132
"requireindex": "^1.1.0"

0 commit comments

Comments
 (0)