Skip to content

Commit a0fa764

Browse files
committed
chore: small code rabbit fixes to zustand.ts and dl test
1 parent 5ccf057 commit a0fa764

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

apps/web/src/__mocks__/zustand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ afterEach(() => {
3131
STORE_RESET_FUNCTIONS.forEach((resetFn) => {
3232
resetFn();
3333
});
34+
STORE_RESET_FUNCTIONS.clear();
3435
});
3536
});
3637

apps/web/src/hooks/__tests__/useInstrumentVisualization.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const mockUseInstrument = vi.hoisted(() =>
1515

1616
const mockRecords = [
1717
{
18-
__date__: new Date().getDate(),
18+
__date__: new Date(),
1919
__time__: new Date().getTime(),
2020
someValue: 'abc'
2121
}

0 commit comments

Comments
 (0)