Skip to content

Commit

Permalink
update vitest and vitest plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
koji committed Jul 18, 2024
1 parent b69fa11 commit f2b3788
Show file tree
Hide file tree
Showing 3 changed files with 209 additions and 206 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"@vitejs/plugin-react": "4.2.0",
"@vitest/coverage-v8": "1.3.0",
"@vitest/coverage-v8": "2.0.3",
"ajv": "6.12.3",
"aws-sdk": "^2.493.0",
"babel-loader": "^8.2.2",
Expand Down Expand Up @@ -150,7 +150,7 @@
"typescript": "5.3.3",
"url-loader": "^2.1.0",
"vite": "5.0.5",
"vitest": "1.3.1",
"vitest": "2.0.3",
"vitest-when": "0.4.1",
"wait-on": "^4.0.2",
"webpack": "^4.41.6",
Expand Down
4 changes: 4 additions & 0 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ export default mergeConfig(
allowOnly: true,
exclude: [...configDefaults.exclude, '**/node_modules/**', '**/dist/**'],
setupFiles: ['./setup-vitest.ts'],
coverage: {
provider: 'v8',
reporter: ['text', 'json', 'html'],
},
},
resolve: {
alias: {
Expand Down
Loading

0 comments on commit f2b3788

Please sign in to comment.