diff --git a/vitest.config.mts b/vitest.config.mts index 63bd376..b903b2c 100644 --- a/vitest.config.mts +++ b/vitest.config.mts @@ -5,6 +5,15 @@ export default defineConfig({ plugins: [react()], test: { environment: 'happy-dom', + environmentOptions: { + happyDOM: { + settings: { + disableIframePageLoading: true, + disableJavaScriptFileLoading: true, + disableCSSFileLoading: true, + } + } + }, globals: true, setupFiles: ['./tests/setup.tsx'], alias: {