Skip to content

Commit

Permalink
ci: coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
dnldsht committed Sep 20, 2024
1 parent d13f8c3 commit 6280994
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"scripts": {
"build": "unbuild",
"test": "vitest",
"coverage": "vitest run --coverage --reporter=json",
"coverage": "vitest run --coverage",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"release": "yarn lint && yarn test run && yarn build && npx changelogen@latest --release --push"
Expand Down
3 changes: 3 additions & 0 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@ export default defineConfig({
test: {
globals: true,
environment: 'jsdom',
coverage: {
reporter: ['html', 'text', 'json', 'json-summary'],
},
},
})

0 comments on commit 6280994

Please sign in to comment.