Skip to content

Commit 72609b1

Browse files
committed
🚨 Add afterEach cleanup (#1726)
1 parent 88207e1 commit 72609b1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/test/lib/stores/replenishment_workbook.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ describe('Replenishment workbooks store', () => {
2323
replenishmentWorkBooksStore.reset();
2424
});
2525

26+
afterEach(() => {
27+
vi.unstubAllGlobals();
28+
});
29+
2630
test('expects to be invisible before toggling', () => {
2731
expect(replenishmentWorkBooksStore.canView()).toBeFalsy();
2832
});

0 commit comments

Comments
 (0)