Skip to content

Commit

Permalink
test: update vitest config
Browse files Browse the repository at this point in the history
  • Loading branch information
skoshx committed Jul 26, 2024
1 parent 00cf269 commit b479e92
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 51 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
"type-fest": "^4.23.0",
"typescript": "5",
"unbuild": "^1.2.1",
"vite": "^4.3.9",
"vitest": "^2.0.4"
},
"packageManager": "pnpm@8.6.0"
Expand Down
52 changes: 6 additions & 46 deletions pnpm-lock.yaml

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

5 changes: 1 addition & 4 deletions vite.config.ts → vitest.config.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
/// <reference types="vitest" />

import { defineConfig } from 'vite'
import { defineConfig } from 'vitest/config'

export default defineConfig({
test: {
coverage: {
'100': true,
include: ['src'],
reporter: ['text', 'json', 'html']
}
Expand Down

0 comments on commit b479e92

Please sign in to comment.