mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 21:10:59 +00:00
test(whoop): type morning refresh mock
This commit is contained in:
1 parent
6ebc278c2c
commit
ca1ba8b128
1 file changed
+3
-1
@@ -28,7 +28,9 @@ const { updateManyMock, upsertMeasurementsMock, morningRefreshMock } =
|
||||
return 1;
|
||||
},
|
||||
),
|
||||
morningRefreshMock: vi.fn(async () => {}),
|
||||
morningRefreshMock: vi.fn<(...args: unknown[]) => Promise<void>>(
|
||||
async () => {},
|
||||
),
|
||||
}));
|
||||
|
||||
vi.mock("@/lib/daily/morning-refresh-trigger", () => ({
|
||||
|
||||
Reference in new issue
Block a user