diff options
Diffstat (limited to 'frontend/vite.config.ts')
-rw-r--r-- | frontend/vite.config.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index 5bc90388e..3ab8d1713 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -1,3 +1,5 @@ +/// <reference types="vitest" /> +/// <reference types="vite/client" /> /// <reference types="node" /> import react from "@vitejs/plugin-react"; @@ -46,6 +48,11 @@ export default defineConfig(async ({ mode, command }) => { }, }, }, + test: { + globals: true, + environment: "jsdom", + setupFiles: "./test/setup.ts", + }, server: { proxy: { "^/(api|images|test|bazarr.log)/.*": { |