Skip to content

Commit 3b023f4

Browse files
committed
test(desktop): give the notification tests the prevent-sleep setter the settings service now requires
1 parent 9de2f0c commit 3b023f4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎apps/desktop/src/main/desktop-settings.test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ function service(window: { url: string; focused: boolean } | null) {
2929
setBrowserTheme: vi.fn(),
3030
setBrowserDefaultZoom: vi.fn(),
3131
setTerminalDefaultZoom: vi.fn(),
32+
setPreventSleepWhileRunning: vi.fn(),
3233
getDefaultBrowserDownloadDirectory: () => '/tmp',
3334
chooseBrowserDownloadDirectory: async () => null,
3435
})

0 commit comments

Comments
 (0)