Skip to content

Commit

Permalink
fix: vites coverage provider and module
Browse files Browse the repository at this point in the history
  • Loading branch information
azizs4h committed Sep 17, 2023
1 parent 683c214 commit 1c7ef89
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 130 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "ts-bundle-template",
"type": "module",
"version": "0.0.0",
"packageManager": "pnpm@8.0.0",
"description": "add description",
Expand Down Expand Up @@ -45,7 +46,7 @@
},
"devDependencies": {
"@antfu/eslint-config": "^0.42.0",
"@vitest/coverage-c8": "^0.33.0",
"@vitest/coverage-v8": "^0.34.4",
"bumpp": "^9.2.0",
"eslint": "^8.49.0",
"tsup": "^7.2.0",
Expand Down
173 changes: 45 additions & 128 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 @@ -6,7 +6,7 @@ export default defineConfig({
},
test: {
coverage: {
provider: 'c8', // or 'c8',
provider: 'v8',
reporter: ['text', 'json-summary', 'json', 'html'],
},
exclude: [
Expand Down

0 comments on commit 1c7ef89

Please sign in to comment.