From 031d0fbefcdcd814a4a1abf3c2b6db094c83ebca Mon Sep 17 00:00:00 2001 From: dylan Date: Mon, 23 Mar 2026 11:15:59 +0700 Subject: [PATCH] fix(test): update setup integration test for channel selection step Co-Authored-By: Claude Opus 4.6 --- src/__tests__/setup-integration.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/__tests__/setup-integration.test.ts b/src/__tests__/setup-integration.test.ts index 6f4b658..523ec57 100644 --- a/src/__tests__/setup-integration.test.ts +++ b/src/__tests__/setup-integration.test.ts @@ -151,7 +151,9 @@ describe('runSetup integration', () => { mockedConfirm.mockResolvedValueOnce(false as any) // Select call order: - // 1. setupRunMode: run mode selection + // 1. Channel selection: which platform + // 2. setupRunMode: run mode selection + mockedSelect.mockResolvedValueOnce('telegram' as any) mockedSelect.mockResolvedValueOnce('foreground' as any) const cm = new ConfigManager()