@@ -4,6 +4,10 @@
"compilerOptions": {
"jsx": "react-jsxdev",
+ "types": [
+ "vitest/globals"
+ ],
+
"baseUrl": ".",
"paths": {
"~/*": ["./src/*"],
@@ -0,0 +1,13 @@
+import tsconfigPaths from 'vite-tsconfig-paths';
+import { defineConfig } from 'vitest/config';
+export default defineConfig({
+ plugins: [
+ tsconfigPaths(),
+ test: {
+ environment: 'node',
+ clearMocks: true,
+ globals: true,
+ },
+});