MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / capture

Function capture

graph-ui/tools/pr-2068-errors-e2e.mjs:61–65  ·  view source on GitHub ↗
(page, name)

Source from the content-addressed store, hash-verified

59}
60
61async function capture(page, name) {
62 name = proofPrefix + name;
63 await page.screenshot({ path: join(OUT, name), fullPage: false });
64 report.screenshots.push({ file: name, url: page.url(), at: new Date().toISOString(), sha256: createHash('sha256').update(await readFile(join(OUT, name))).digest('hex') });
65}
66
67async function fixturePrepare() {
68 await mkdir(FIXTURE, { recursive: true });

Callers 2

failedJobWhileWatchingFunction · 0.70
mainFunction · 0.70

Calls 2

updateMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected