Anvil/vitest.config.ts
André Jaenisch 406b38698c
chore: apply formatting
We want to be a good citizen, don't we?

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-02-09 11:29:03 +01:00

14 lines
324 B
TypeScript

import { svelte } from '@sveltejs/vite-plugin-svelte';
import { defineConfig } from 'vitest/config';
export default defineConfig({
plugins: [svelte({ hot: !process.env.VITEST })],
test: {
coverage: {
include: ['src/**/*.svelte']
},
include: ['tests/**/*.test.ts'],
environment: 'jsdom',
globals: true
}
});