diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/common/screenshot/journey_screenshot_dialog.test.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/common/screenshot/journey_screenshot_dialog.test.tsx index bf695cc304e53..eb180b8e362e1 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/common/screenshot/journey_screenshot_dialog.test.tsx +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/common/screenshot/journey_screenshot_dialog.test.tsx @@ -33,7 +33,7 @@ const testImageDataResult = { }, }; jest.mock('../monitor_test_result/use_retrieve_step_image', () => ({ - useRetrieveStepImage: () => ({ imageResult: testImageDataResult, isLoading: false }), + useRetrieveStepImage: () => testImageDataResult, })); describe('JourneyScreenshotDialog', () => {