MCPcopy
hub / github.com/callstack/agent-device / assertPngFile

Function assertPngFile

test/integration/provider-scenarios/assertions.ts:107–109  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

105}
106
107export function assertPngFile(filePath: string): void {
108 assert.deepEqual(fs.readFileSync(filePath).subarray(0, 8), pngSignature());
109}

Calls 1

pngSignatureFunction · 0.85

Tested by 2

assertWebScreenshotFunction · 0.72