MCPcopy
hub / github.com/gitify-app/gitify / TestApi

Interface TestApi

src/preload/index.test.ts:65–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63 MockNotification;
64
65interface TestApi {
66 tray: { updateColor: (n?: number) => void };
67 openExternalLink: (u: string, f: boolean) => void;
68 app: { version: () => Promise<string>; show?: () => void; hide?: () => void };
69 onSystemThemeUpdate: (cb: (t: string) => void) => void;
70 raiseNativeNotification: (t: string, b: string, u?: string) => unknown;
71}
72
73describe('preload/index', () => {
74 beforeEach(() => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected