Skip to content

Commit

Permalink
chore: Switch to v8 as code coverage provider, reduces the dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
  • Loading branch information
susnux committed Oct 6, 2023
1 parent 1d88612 commit d40fa93
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 57 deletions.
65 changes: 10 additions & 55 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"@nextcloud/eslint-config": "^8.3.0",
"@nextcloud/vite-config": "^1.0.0-beta.19",
"@types/gettext-parser": "^4.0.2",
"@vitest/coverage-istanbul": "^0.34.6",
"@vitest/coverage-v8": "^0.34.6",
"@vue/test-utils": "^1.3.6",
"@vue/tsconfig": "^0.4.0",
"@zamiell/typedoc-plugin-not-exported": "^0.2.0",
Expand Down
3 changes: 2 additions & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ export default defineConfig(async (env) => {
test: {
environment: 'happy-dom',
coverage: {
provider: 'istanbul',
all: true,
provider: 'v8',
include: ['lib/**/*.ts', 'lib/*.ts'],
exclude: ['lib/**/*.spec.ts'],
},
Expand Down

0 comments on commit d40fa93

Please sign in to comment.