From 3dc9e11b4db65071f63ed3b88abc05507c627014 Mon Sep 17 00:00:00 2001 From: Linus Rath <139418639+rathlinus@users.noreply.github.com> Date: Tue, 3 Nov 2026 11:32:51 +0100 Subject: [PATCH] test: give the store and OS integration test time for its first import --- lib/desktop/__tests__/os-store.test.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/desktop/__tests__/os-store.test.ts b/lib/desktop/__tests__/os-store.test.ts index 7339a0aa4..cd876cfd2 100644 --- a/lib/desktop/__tests__/os-store.test.ts +++ b/lib/desktop/__tests__/os-store.test.ts @@ -4,6 +4,9 @@ import type { StorePageHooks } from '@/lib/store/client/api'; /** The local store and the OS integration: mail it found, and a machine going to sleep. */ +// The first import of offline-mode compiles a good part of the app. +vi.setConfig({ testTimeout: 60_000, hookTimeout: 60_000 }); + const configured = vi.hoisted(() => ({ hooks: null as StorePageHooks | null })); const setOnline = vi.hoisted(() => vi.fn(async () => {}));