fix tests?
This commit is contained in:
parent
d199162dc6
commit
410203a5b8
@ -40,12 +40,6 @@ describe("downloads store", () => {
|
|||||||
vi.clearAllMocks();
|
vi.clearAllMocks();
|
||||||
mockInvoke.mockReset();
|
mockInvoke.mockReset();
|
||||||
mockListen.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", () => {
|
describe("initial state", () => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user