style(desktop): wrap dialog mock after rebase
This commit is contained in:
1 parent
21c7828678
commit
285da0fa64
1 file changed
+5
-1
@@ -89,7 +89,11 @@ const harness = await vi.hoisted(async () => {
|
||||
popup,
|
||||
socketHeaders: vi.fn(),
|
||||
menu: { setApplicationMenu: vi.fn(), buildFromTemplate: vi.fn(() => ({ popup })) },
|
||||
dialog: { showOpenDialog: vi.fn(), showErrorBox: vi.fn(), showMessageBox: vi.fn<(options: MessageBoxOptions) => Promise<MessageBoxReturnValue>>() },
|
||||
dialog: {
|
||||
showOpenDialog: vi.fn(),
|
||||
showErrorBox: vi.fn(),
|
||||
showMessageBox: vi.fn<(options: MessageBoxOptions) => Promise<MessageBoxReturnValue>>(),
|
||||
},
|
||||
openExternal: vi.fn(),
|
||||
applyRelease: vi.fn(() => { preparing.resolve(); return prepared.promise }),
|
||||
mutateFailure: vi.fn<() => void>(),
|
||||
|
||||
Reference in new issue
Block a user