Skip to content

Commit

Permalink
Upgrade vitest to 1.2 (#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimfeld authored and techniq committed Feb 6, 2024
1 parent bf656a0 commit e3b0b37
Show file tree
Hide file tree
Showing 3 changed files with 109 additions and 362 deletions.
4 changes: 2 additions & 2 deletions packages/svelte-ux/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@types/lodash-es": "^4.17.12",
"@types/marked": "^6.0.0",
"@types/prismjs": "^1.26.3",
"@vitest/coverage-v8": "^0.34.6",
"@vitest/coverage-v8": "^1.2.0",
"autoprefixer": "^10.4.16",
"daisyui": "^4.6.0",
"execa": "^8.0.1",
Expand All @@ -52,7 +52,7 @@
"typescript": "^5.3.3",
"unist-util-visit": "^5.0.0",
"vite": "^5.0.11",
"vitest": "^0.33.0"
"vitest": "^1.2.0"
},
"type": "module",
"dependencies": {
Expand Down
7 changes: 7 additions & 0 deletions packages/svelte-ux/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ export default defineConfig({
plugins: [sveltekit(), sveld()],
test: {
include: ['src/**/*.{test,spec}.{js,ts}'],
deps: {
optimizer: {
ssr: {
exclude: ['sveld'],
},
},
},
coverage: {
reporter: ['html'],
},
Expand Down
Loading

0 comments on commit e3b0b37

Please sign in to comment.