Skip to content
This repository was archived by the owner on Jun 27, 2019. It is now read-only.

Commit 36a228c

Browse files
simplyfy coverage
1 parent fbf9147 commit 36a228c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ lib-cov
1313
# Coverage directory used by tools like istanbul
1414
coverage
1515
.nyc_output
16+
coverage.lcov
1617

1718
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
1819
.grunt

package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,12 @@
3333
"yarn": ">= 1.3.0"
3434
},
3535
"scripts": {
36-
"ci": "yarn run eslint && yarn run test:coverage && yarn run test:report",
36+
"ci": "yarn run eslint && yarn run test && yarn run test:coverage",
3737
"clean": "rm -Rf tmp",
3838
"mongo": "mongod --dbpath data --quiet",
3939
"mongo:win": "mongod --dbpath /data/db --quiet",
4040
"test": "yarn run mocha && yarn run cucumber",
41-
"test:coverage": "nyc --reporter=lcovonly --reporter=text-summary yarn run test",
42-
"test:report": "nyc report --reporter=text-lcov > coverage.lcov",
41+
"test:coverage": "nyc report --reporter=text-lcov > coverage.lcov",
4342
"eslint": "eslint server/. test/. features/. --config .eslintrc.json",
4443
"start": "node server/",
4544
"dev": "cross-env DEBUG=feathers* nodemon server/",

0 commit comments

Comments
 (0)