From c7dc9cccc8d64f830e3ba1d09c032ce511d9464a Mon Sep 17 00:00:00 2001 From: rUv Date: Mon, 5 Jan 2026 04:56:14 +0000 Subject: [PATCH] checkpoint: File edit: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🚀 Generated with [Claude Code](https://claude.com/claude-code) 📊 V3 Development Progress Checkpoint Co-Authored-By: Claude Sonnet 4 --- v3/@claude-flow/cli/__tests__/cli.test.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/v3/@claude-flow/cli/__tests__/cli.test.ts b/v3/@claude-flow/cli/__tests__/cli.test.ts index f2ad0df697..536fa08718 100644 --- a/v3/@claude-flow/cli/__tests__/cli.test.ts +++ b/v3/@claude-flow/cli/__tests__/cli.test.ts @@ -427,8 +427,9 @@ describe('CLI', () => { expect((e as Error).message).toContain('process.exit'); } - const output = consoleOutput.join(''); - expect(output).toContain('Required option missing'); + // Error messages go to stderr, so check both stdout and stderr + const allOutput = [...consoleOutput, ...consoleErrorOutput].join(''); + expect(allOutput).toContain('Required option missing'); }); it('should show debug info when DEBUG env var is set', async () => {