feat: Add vitest

This commit is contained in:
Xyphyn committed 2023-07-08 14:54:02 -07:00
1 parent f04663b788
commit 08fce6f023
6 files changed
+749 -136

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
import { svelte } from '@sveltejs/vite-plugin-svelte'
import { defineConfig } from 'vitest/dist/config'
export default defineConfig({
// @ts-ignore
plugins: [svelte()],
test: {
globals: true,
environment: 'jsdom',
},
})