mirror of
https://github.com/vitest-dev/vitest.git
synced 2026-02-01 17:36:51 +00:00
13 lines
244 B
TypeScript
13 lines
244 B
TypeScript
import { defineConfig } from 'vite'
|
|
import { svelte } from '@sveltejs/vite-plugin-svelte'
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
svelte({ hot: !process.env.VITEST }),
|
|
],
|
|
test: {
|
|
globals: true,
|
|
environment: 'jsdom',
|
|
},
|
|
})
|