From 028a82ebebc0de32b93fbfe7e1e359e5ebe415bf Mon Sep 17 00:00:00 2001 From: tanzhenxin Date: Mon, 11 Aug 2025 12:01:43 +0800 Subject: [PATCH] chore: format&lint --- packages/cli/src/ui/commands/initCommand.test.ts | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/packages/cli/src/ui/commands/initCommand.test.ts b/packages/cli/src/ui/commands/initCommand.test.ts index 4ab7dde9..1130c5b3 100644 --- a/packages/cli/src/ui/commands/initCommand.test.ts +++ b/packages/cli/src/ui/commands/initCommand.test.ts @@ -22,7 +22,12 @@ vi.mock('fs', async (importOriginal) => { existsSync, writeFileSync, readFileSync, - default: { ...(actual as unknown as Record), existsSync, writeFileSync, readFileSync }, + default: { + ...(actual as unknown as Record), + existsSync, + writeFileSync, + readFileSync, + }, } as unknown as typeof import('fs'); }); @@ -87,7 +92,9 @@ describe('initCommand', () => { // Assert: Check that the correct prompt is submitted expect(result.type).toBe('submit_prompt'); - expect(result.content).toContain('You are Qwen Code, an interactive CLI agent'); + expect(result.content).toContain( + 'You are Qwen Code, an interactive CLI agent', + ); }); it(`should proceed to initialize when ${DEFAULT_CONTEXT_FILENAME} exists but is empty`, async () => {