From 1dbe61b06f15b7dac4a2330f6952a8c070cf7fe4 Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Wed, 25 Mar 2026 22:22:39 +0100 Subject: [PATCH] test(coding-agent): use valid PNG fixture for read tool --- packages/coding-agent/test/tools.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/coding-agent/test/tools.test.ts b/packages/coding-agent/test/tools.test.ts index 37e3cf7a..3070e7e9 100644 --- a/packages/coding-agent/test/tools.test.ts +++ b/packages/coding-agent/test/tools.test.ts @@ -158,7 +158,7 @@ describe("Coding Agent Tools", () => { it("should detect image MIME type from file magic (not extension)", async () => { const png1x1Base64 = - "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO+X2Z0AAAAASUVORK5CYII="; + "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR4nGNgYGD4DwABBAEAX+XDSwAAAABJRU5ErkJggg=="; const pngBuffer = Buffer.from(png1x1Base64, "base64"); const testFile = join(testDir, "image.txt");