From 1babb70bf39e15632306c6a475e4ae6bdb06760b Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Sun, 18 May 2025 16:41:40 +0300 Subject: [PATCH] Remove todo in config I don't think we need to specify what APIs to mock. It seems to work just fine like this. --- vite.config.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index e3186881b..e703eea9e 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -38,10 +38,6 @@ export default defineConfig(() => { ], test: { exclude: [...configDefaults.exclude, "e2e/**"], - fakeTimers: { - // todo: why is the any needed here, can it be removed after Vite 6? - toFake: ["Date", "setTimeout", "clearTimeout"] as any, - }, }, build: { // this is mostly done so that i18n jsons as defined in ./app/modules/i18n/loader.ts