Skip to content

Commit 6f8b765

Browse files
committed
chore: add c8 for coverage
1 parent 584e71c commit 6f8b765

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"@fastify/busboy": "^3.0.0",
1010
"@fastify/deepmerge": "^2.0.0",
1111
"@fastify/error": "^4.0.0",
12+
"c8": "^10.1.3",
1213
"fastify-plugin": "^5.0.0",
1314
"secure-json-parse": "^3.0.0"
1415
},
@@ -31,14 +32,13 @@
3132
"tsd": "^0.31.0"
3233
},
3334
"scripts": {
34-
"coverage": "npm run test:unit -- --coverage-report=html",
3535
"climem": "climem 8999 localhost",
3636
"lint": "eslint",
3737
"lint:fix": "eslint --fix",
3838
"start": "CLIMEM=8999 node -r climem ./examples/example",
3939
"test": "npm run test:unit && npm run test:typescript",
4040
"test:typescript": "tsd",
41-
"test:unit": "node --test"
41+
"test:unit": "c8 --100 node --test"
4242
},
4343
"repository": {
4444
"type": "git",

0 commit comments

Comments
 (0)