From 410203a5b8893feb459f7b9eb38a4dacb5789731 Mon Sep 17 00:00:00 2001 From: Duncan Tourolle Date: Sat, 14 Feb 2026 13:34:34 +0100 Subject: [PATCH] fix tests? --- src/lib/stores/downloads.test.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/lib/stores/downloads.test.ts b/src/lib/stores/downloads.test.ts index ece4f36..74bab64 100644 --- a/src/lib/stores/downloads.test.ts +++ b/src/lib/stores/downloads.test.ts @@ -40,12 +40,6 @@ describe("downloads store", () => { vi.clearAllMocks(); mockInvoke.mockReset(); mockListen.mockReset(); - - // Reset modules to get fresh store instances for each test - // This prevents state pollution from affecting subsequent tests - if (typeof vi.resetModules === 'function') { - vi.resetModules(); - } }); describe("initial state", () => {