Skip to content

Commit f17d670

Browse files
committed
chore: add v8 coverage
1 parent 7dfdbb7 commit f17d670

File tree

5 files changed

+322
-271
lines changed

5 files changed

+322
-271
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,8 @@
155155
"prepublishOnly": "npm run build",
156156
"release": "bumpp",
157157
"start": "esno src/index.ts",
158-
"test": "vitest"
158+
"test": "vitest",
159+
"coverage": "vitest run --coverage"
159160
},
160161
"peerDependencies": {
161162
"@farmfe/core": ">=1",
@@ -205,6 +206,7 @@
205206
"@nuxt/kit": "catalog:nuxt",
206207
"@nuxt/schema": "catalog:nuxt",
207208
"@types/node": "catalog:types",
209+
"@vitest/coverage-v8": "^4.0.7",
208210
"bumpp": "catalog:build",
209211
"chalk": "catalog:utils",
210212
"eslint": "catalog:eslint",

0 commit comments

Comments
 (0)