feat: Add vitest
This commit is contained in:
1 parent
f04663b788
commit
08fce6f023
6 files changed
+749
-136
No files matched your search
@@ -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',
|
||||
},
|
||||
})
|
||||
Reference in new issue
Block a user