aboutsummaryrefslogtreecommitdiffstats
path: root/frontend-vanilla/vitest.config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'frontend-vanilla/vitest.config.ts')
-rw-r--r--frontend-vanilla/vitest.config.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/frontend-vanilla/vitest.config.ts b/frontend-vanilla/vitest.config.ts
new file mode 100644
index 0000000..9695d57
--- /dev/null
+++ b/frontend-vanilla/vitest.config.ts
@@ -0,0 +1,10 @@
+/// <reference types="vitest" />
+import { defineConfig } from 'vitest/config';
+
+export default defineConfig({
+ test: {
+ environment: 'jsdom',
+ globals: true,
+ setupFiles: ['./src/setupTests.ts'],
+ },
+});