13 lines
269 B
TypeScript
13 lines
269 B
TypeScript
import { defineConfig, UserConfigExport } from 'vitest/config'
|
|
import { svelte } from '@sveltejs/vite-plugin-svelte';
|
|
|
|
|
|
const config: UserConfigExport =
|
|
{
|
|
plugins: [svelte()],
|
|
test: {
|
|
globals: true,
|
|
environment: 'jsdom',
|
|
}
|
|
}
|
|
export default defineConfig(config) |