MCPcopy Index your code
hub / github.com/gitify-app/gitify / clickByLabel

Function clickByLabel

src/main/menu.test.ts:224–225  ·  view source on GitHub ↗
(label: string)

Source from the content-addressed store, hash-verified

222 expect(devEntry).toBeDefined();
223 const submenu = devEntry.submenu ?? [];
224 const clickByLabel = (label: string) =>
225 submenu.find((i) => i.label === label)?.click?.();
226
227 clickByLabel('Take Screenshot');
228 expect(takeScreenshot).toHaveBeenCalledWith(menubar);

Callers 1

menu.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected