From 6210378687b3c8dcfa8395e77e4d8a804d02a8bf Mon Sep 17 00:00:00 2001 From: czlonkowski <56956555+czlonkowski@users.noreply.github.com> Date: Tue, 30 Sep 2025 11:29:43 +0200 Subject: [PATCH] test: update batch processor test for new error message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update error message expectation to match enhanced error handling - Fixes CI test failure after error handling improvements 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- tests/unit/templates/batch-processor.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/templates/batch-processor.test.ts b/tests/unit/templates/batch-processor.test.ts index 7887a11..684b674 100644 --- a/tests/unit/templates/batch-processor.test.ts +++ b/tests/unit/templates/batch-processor.test.ts @@ -389,11 +389,11 @@ describe('BatchProcessor', () => { }); it('should throw error when no output file available', async () => { - const batchJob = { output_file_id: null }; + const batchJob = { output_file_id: null, error_file_id: null }; await expect( (processor as any).retrieveResults(batchJob) - ).rejects.toThrow('No output file available for batch job'); + ).rejects.toThrow('No output file or error file available for batch job'); }); it('should handle malformed result lines gracefully', async () => {