From d4ddb43e0011d474473bccdb115b49097351dd98 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Mon, 16 Feb 2026 06:33:05 +0000 Subject: [PATCH] test: update extraction service prompt expectations Updates the test expectations in `src/service/extraction.test.ts` to match the actual prompt content used in `src/service/extraction.ts`. The previous test was asserting the presence of specific instructions regarding cropping artifacts that are no longer present in the codebase. The updated test now verifies the presence of the task name and the instruction to return only the image. --- src/service/extraction.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/service/extraction.test.ts b/src/service/extraction.test.ts index 03b8204..0a8cdef 100644 --- a/src/service/extraction.test.ts +++ b/src/service/extraction.test.ts @@ -109,7 +109,7 @@ describe('ExtractionService', () => { const callArgs = generateImageMock.mock.calls[0] as unknown as any[] const prompt = callArgs[0] as string - expect(prompt).toContain('CRITICAL: Detect and remove any straight lines, black borders, or frame-like artifacts') - expect(prompt).toContain('These are cropping artifacts and MUST be removed') + expect(prompt).toContain('Task: Asset Refinement') + expect(prompt).toContain('Return only the image.') }) })