MCPcopy Create free account
hub / github.com/adcontextprotocol/adcp / createTestPng

Function createTestPng

server/tests/integration/perspective-assets.test.ts:81–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79
80// Create a 1x1 red PNG for testing (68 bytes)
81function createTestPng(): Buffer {
82 return Buffer.from(
83 'iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8/5+hHgAHggJ/PchI7wAAAABJRU5ErkJggg==',
84 'base64'
85 );
86}
87
88// Create a minimal PDF for testing
89function createTestPdf(): Buffer {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected