From e53a554e26057ca6485a63ed6db923a45b623a45 Mon Sep 17 00:00:00 2001 From: Justin Kambic Date: Tue, 28 Mar 2023 12:04:49 -0400 Subject: [PATCH] Fix broken unit tests. --- .../common/screenshot/journey_screenshot_dialog.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', () => {