test: add withProgress mock in selectAndExecute autoPr test
This commit is contained in:
parent
aeedf87a59
commit
0214f7f5e6
@ -30,6 +30,11 @@ vi.mock('../shared/ui/index.js', () => ({
|
||||
info: vi.fn(),
|
||||
error: vi.fn(),
|
||||
success: vi.fn(),
|
||||
withProgress: async <T>(
|
||||
_startMessage: string,
|
||||
_completionMessage: string | ((result: T) => string),
|
||||
operation: () => Promise<T>,
|
||||
): Promise<T> => operation(),
|
||||
}));
|
||||
|
||||
vi.mock('../shared/utils/index.js', async (importOriginal) => ({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user