fix tests
Some checks failed
🏗️ Build and Test JellyTau / Build APK and Run Tests (push) Has been cancelled
Traceability Validation / Check Requirement Traces (push) Failing after 1s

This commit is contained in:
Duncan Tourolle 2026-02-14 12:21:03 +01:00
parent 27f5c435de
commit d199162dc6
2 changed files with 4 additions and 2 deletions

View File

@ -56,7 +56,7 @@
"tailwindcss": "^4.1.18", "tailwindcss": "^4.1.18",
"typescript": "~5.6.2", "typescript": "~5.6.2",
"vite": "^6.0.3", "vite": "^6.0.3",
"vitest": "^4.0.16", "vitest": ">=1.0.0 <5.0.0",
"webdriverio": "^9.5.0" "webdriverio": "^9.5.0"
} }
} }

View File

@ -43,7 +43,9 @@ describe("downloads store", () => {
// Reset modules to get fresh store instances for each test // Reset modules to get fresh store instances for each test
// This prevents state pollution from affecting subsequent tests // This prevents state pollution from affecting subsequent tests
if (typeof vi.resetModules === 'function') {
vi.resetModules(); vi.resetModules();
}
}); });
describe("initial state", () => { describe("initial state", () => {