Skip to content
This repository was archived by the owner on Feb 24, 2018. It is now read-only.

Commit 3bafb91

Browse files
committed
Implement nyc --all: 52% statements
1 parent 75c37c2 commit 3bafb91

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.babelrc

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
"presets": [
33
"es2015"
44
],
5+
"only": [
6+
"src"
7+
],
58
"env": {
69
"nyc": {
710
"sourceMaps": "inline",
@@ -10,4 +13,4 @@
1013
]
1114
}
1215
}
13-
}
16+
}

package.json

+7-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"ava": "^0.16.0",
4949
"babel-core": "^6.13.2",
5050
"babel-loader": "^6.2.4",
51-
"babel-plugin-istanbul": "^2.0.1",
51+
"babel-plugin-istanbul": "^2.0.3",
5252
"babel-preset-es2015": "^6.13.2",
5353
"babel-register": "^6.14.0",
5454
"cross-env": "^2.0.1",
@@ -58,7 +58,7 @@
5858
"eslint-plugin-import": "^1.13.0",
5959
"jsdoc": "^3.4.0",
6060
"mock-require": "^1.3.0",
61-
"nyc": "^8.3.0",
61+
"nyc": "^8.4.0-candidate",
6262
"sinon": "^1.17.5",
6363
"webpack": "^1.13.1"
6464
},
@@ -69,7 +69,12 @@
6969
"timeout": "30s"
7070
},
7171
"nyc": {
72+
"all": true,
7273
"cache": true,
74+
"include": "src",
75+
"require": [
76+
"babel-register"
77+
],
7378
"sourceMap": false,
7479
"instrument": false
7580
}

0 commit comments

Comments
 (0)