👽 Configures frontend tests suit

This commit is contained in:
Rune Harlyk
2024-05-03 15:42:52 +02:00
committed by Rune Harlyk
parent 00381579db
commit 2b4d196e7c
14 changed files with 349 additions and 102 deletions
+7 -8
View File
@@ -2,12 +2,11 @@ import { defineConfig, UserConfigExport } from 'vitest/config'
import { svelte } from '@sveltejs/vite-plugin-svelte';
const config: UserConfigExport =
{
plugins: [svelte()],
test: {
globals: true,
environment: 'jsdom',
}
}
const config: UserConfigExport = {
plugins: [svelte()],
test: {
globals: true,
environment: 'jsdom'
}
};
export default defineConfig(config)