Skip to content

Commit d15b99c

Browse files
committed
coverage
1 parent 0af356f commit d15b99c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.nycrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"extends": "@istanbuljs/nyc-config-typescript",
33
"all": false,
44
"include": ["src/**"],
5-
"exclude": ["src/test/**"]
5+
"exclude": ["src/test/**"],
6+
"check-coverage": true
67
}

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727
"homepage": "https://github.com/davidyaha/graphql-redis-subscriptions",
2828
"scripts": {
2929
"compile": "tsc",
30-
"test": "npm run testonly -- && npm run integration --",
31-
"posttest": "npm run lint",
30+
"test": "npm run coverage && npm run lint",
3231
"lint": "eslint src --ext ts",
3332
"watch": "tsc -w",
3433
"testonly": "mocha --reporter spec src/test/tests.ts",

0 commit comments

Comments
 (0)