Skip to content

Commit

Permalink
Switch coverage to istanbul
Browse files Browse the repository at this point in the history
  • Loading branch information
AdiRishi committed Mar 15, 2024
1 parent 88f3f9b commit f10e4cb
Show file tree
Hide file tree
Showing 3 changed files with 182 additions and 29 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
"build": "wrangler deploy --dry-run --minify --outdir dist",
"dev": "wrangler dev --test-scheduled",
"deploy": "wrangler deploy",
"test": "vitest run",
"test:ui": "vitest --ui",
"test": "vitest run --coverage",
"test:ui": "vitest --coverage --ui",
"test:watch": "vitest",
"lint": "eslint . && prettier --check .",
"format": "prettier --write .",
Expand All @@ -53,7 +53,7 @@
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"@vitest/coverage-v8": "1.3.0",
"@vitest/coverage-istanbul": "1.3.0",
"@vitest/ui": "1.3.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
Expand Down
203 changes: 178 additions & 25 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default defineWorkersConfig({
},
reporters: ['verbose'],
coverage: {
provider: 'v8',
provider: 'istanbul',
reporter: ['text', 'html', 'clover', 'json'],
},
},
Expand Down

0 comments on commit f10e4cb

Please sign in to comment.