fix tests
This commit is contained in:
parent
27f5c435de
commit
d199162dc6
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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", () => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user