Skip to content

Commit 3aa96ce

Browse files
committed
tests(cov): use regular nyc on tests
1 parent 49ec223 commit 3aa96ce

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

package.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@
3030
"lint:codeOnly": "eslint \"{bin}/**/!(__testfixtures__)/*.js\" \"{bin}/**.js\"",
3131
"precommit": "lint-staged",
3232
"pretest": "npm run lint",
33-
"test": "jest && nyc lerna exec npm test",
33+
"test": "nyc jest",
3434
"reportCoverage": "nyc report --reporter=json && codecov -f coverage/coverage-final.json --disable=gcov",
3535
"jsdoc": "jsdoc -c jsdoc.json -r -d docs",
3636
"appveyor:lint": "lerna bootstrap && npm run lint",
37-
"appveyor:test": "lerna run test",
38-
"travis:integration": "lerna run test && npm run reportCoverage",
37+
"appveyor:test": "npm run test",
38+
"travis:integration": "npm run test && npm run reportCoverage",
3939
"travis:lint": "lerna bootstrap && npm run lint && npm run bundlesize",
4040
"bundlesize": "bundlesize",
4141
"changelog": "conventional-changelog --config ./build/changelog-generator/index.js --infile CHANGELOG.md --same-file",
@@ -56,9 +56,6 @@
5656
"coverageReporters": [
5757
"json",
5858
"html"
59-
],
60-
"modulePathIgnorePatterns": [
61-
"./packages"
6259
]
6360
},
6461
"nyc": {

0 commit comments

Comments
 (0)