Skip to content

Commit 5caf89c

Browse files
committed
nyc fix
1 parent d49fc13 commit 5caf89c

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.nycrc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"reporter": [
3+
"lcov",
4+
"text-summary"
5+
],
6+
"exclude": [
7+
"**/spec/**"
8+
]
9+
}
10+

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@
6363
"lint:fix": "eslint '{src,spec,demo}/**/*.js' --fix",
6464
"madge": "node_modules/.bin/madge ./src $npm_config_arg",
6565
"madge:circular": "npm run madge --arg=--circular",
66-
"test": "nyc --reporter=lcov jasmine",
67-
"posttest": "nyc report --reporter=json && codecov -f coverage/*.json",
66+
"test": "nyc jasmine",
6867
"prepare": "npm run build && npm test",
6968
"demo": "node ./demo"
7069
}

0 commit comments

Comments
 (0)