Skip to content

The agent that grows with you

fix(desktop): type the tray mock as either D-Bus shape

686f6c61645bb146c681
diff --git a/apps/desktop/electron/tray-host.test.ts b/apps/desktop/electron/tray-host.test.ts
index 761f2167279..a2e40192f53 100644
--- a/apps/desktop/electron/tray-host.test.ts
+++ b/apps/desktop/electron/tray-host.test.ts
@@ -9,7 +9,7 @@ import { watchLinuxTrayHost } from './tray-host'
function bus(hostRegistered: boolean) {
const connection = Object.assign(new EventEmitter(), { stream: { destroy: vi.fn() } })
- const invoke = vi.fn(async () => ({ signature: 'b', value: hostRegistered }))
+ const invoke = vi.fn(async (): Promise<unknown> => ({ signature: 'b', value: hostRegistered }))
const instance = {
connection,