fix(test): update setup integration test for channel selection step

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
dylan 2026-03-23 11:15:59 +07:00
parent 51f995816e
commit 031d0fbefc

View File

@ -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()