Skip to content

armgit / mimik

Public Imported from GitHub
0

🎬 A browser extension and desktop app that turns your clicks into step-by-step guides with annotated screenshots πŸ“–

test(desktop): stub the element lookup for the provenance check, so a runner with the addon passes

Luis Ortiz259cc9afaec2
diff --git a/apps/desktop/scripts/check-pipeline.ts b/apps/desktop/scripts/check-pipeline.ts
index 4166d29..17ce417 100644
--- a/apps/desktop/scripts/check-pipeline.ts
+++ b/apps/desktop/scripts/check-pipeline.ts
@@ -83,7 +83,7 @@ app.whenReady().then(async () => {
() => region,
(fn) => fn(),
(request) => ask(win.webContents, 'mimik:capture:step', { ...request, guideId: activeGuide }),
- { grab: async () => syntheticDisplay, settings: () => settings },
+ { grab: async () => syntheticDisplay, settings: () => settings, lookup: () => Promise.resolve(null) },
);
activeGuide = await ask<string>(win.webContents, 'mimik:capture:startGuide');