diff --git a/dashboard/frontend/vitest.config.js b/dashboard/frontend/vitest.config.js index d1abaaa..6078a54 100644 --- a/dashboard/frontend/vitest.config.js +++ b/dashboard/frontend/vitest.config.js @@ -2,7 +2,14 @@ import { defineConfig } from 'vitest/config'; import { svelte } from '@sveltejs/vite-plugin-svelte'; export default defineConfig({ - plugins: [svelte({ hot: !process.env.VITEST })], + plugins: [ + svelte({ + hot: !process.env.VITEST, + compilerOptions: { + dev: true + } + }) + ], test: { globals: true, environment: 'jsdom',