diff --git a/api/vite.config.mts b/api/vite.config.mts index 7560eb1f..024adc04 100644 --- a/api/vite.config.mts +++ b/api/vite.config.mts @@ -18,5 +18,11 @@ export default defineConfig({ singleThread: true, }, }, + // Mocking + clearMocks: true, + mockReset: true, + restoreMocks: true, + unstubEnvs: true, + unstubGlobals: true, }, })