From 0214f7f5e6a02caa8979174433d68bf36a1f89f2 Mon Sep 17 00:00:00 2001 From: nrslib <38722970+nrslib@users.noreply.github.com> Date: Tue, 10 Feb 2026 21:58:01 +0900 Subject: [PATCH] test: add withProgress mock in selectAndExecute autoPr test --- src/__tests__/selectAndExecute-autoPr.test.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/__tests__/selectAndExecute-autoPr.test.ts b/src/__tests__/selectAndExecute-autoPr.test.ts index f4eeb2f..b11fff3 100644 --- a/src/__tests__/selectAndExecute-autoPr.test.ts +++ b/src/__tests__/selectAndExecute-autoPr.test.ts @@ -30,6 +30,11 @@ vi.mock('../shared/ui/index.js', () => ({ info: vi.fn(), error: vi.fn(), success: vi.fn(), + withProgress: async ( + _startMessage: string, + _completionMessage: string | ((result: T) => string), + operation: () => Promise, + ): Promise => operation(), })); vi.mock('../shared/utils/index.js', async (importOriginal) => ({