Added tests

This commit is contained in:
Hein
2025-10-15 10:36:18 +02:00
parent 9c11b609dc
commit f058336597
10 changed files with 913 additions and 8 deletions

12
vitest.config.ts Normal file
View File

@@ -0,0 +1,12 @@
import { defineConfig } from 'vitest/config'
import react from '@vitejs/plugin-react-swc'
export default defineConfig({
plugins: [react()],
test: {
environment: 'jsdom',
setupFiles: ['./src/test/setup.ts'],
globals: true,
css: true,
},
})