mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
13 lines
243 B
TypeScript
13 lines
243 B
TypeScript
import { defineConfig } from 'vite'
|
|
import { svelte } from '@sveltejs/vite-plugin-svelte'
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
svelte({ hot: !process.env.VITEST }),
|
|
],
|
|
test: {
|
|
global: true,
|
|
environment: 'jsdom',
|
|
},
|
|
})
|