started working on fixing typescript errors

This commit is contained in:
2024-05-07 21:20:57 +02:00
parent f6ea46a3b5
commit f038b6787f
11 changed files with 40 additions and 17 deletions

10
vitest.config.js Normal file
View File

@ -0,0 +1,10 @@
import { fileURLToPath } from 'node:url';
import { mergeConfig, defineConfig, configDefaults } from 'vitest/config';
import viteConfig from './vite.config';
export default mergeConfig(viteConfig, defineConfig({
test: {
environment: 'jsdom',
exclude: [...configDefaults.exclude, 'e2e/*'],
root: fileURLToPath(new URL('./', import.meta.url))
}
}));