Skip to content

Commit 00c31cc

Browse files
committed
test(web): use full fake clock for custom snooze
1 parent 9c611c0 commit 00c31cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/web/src/components/CustomSnoozeDialog.browser.test.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ vi.mock("../hooks/useSettings", () => ({
1414

1515
function setup(timestampFormat: TimestampFormat = "24-hour") {
1616
settings.timestampFormat = timestampFormat;
17-
const timers = fakeTimers({ toFake: ["Date"] });
17+
const timers = fakeTimers();
1818
vi.setSystemTime(new Date(2030, 0, 2, 14, 30));
1919
return timers;
2020
}

0 commit comments

Comments
 (0)