fix tests?
This commit is contained in:
@@ -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", () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user