From d661445dfa695fcb8875d47213b1d3a93fb71efe Mon Sep 17 00:00:00 2001 From: "JUST.in DO IT" Date: Tue, 25 Apr 2023 10:38:00 -0700 Subject: [PATCH] misspell useResizeDetectorByObserver on jest.mock --- .../ExploreViewContainer/ExploreViewContainer.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset-frontend/src/explore/components/ExploreViewContainer/ExploreViewContainer.test.tsx b/superset-frontend/src/explore/components/ExploreViewContainer/ExploreViewContainer.test.tsx index 49ad0e3403710..fbfb0c3b1de77 100644 --- a/superset-frontend/src/explore/components/ExploreViewContainer/ExploreViewContainer.test.tsx +++ b/superset-frontend/src/explore/components/ExploreViewContainer/ExploreViewContainer.test.tsx @@ -79,7 +79,7 @@ const KEY = 'aWrs7w29sd'; const SEARCH = `?form_data_key=${KEY}&dataset_id=1`; jest.mock( - 'src/explore/components/ExploreChartPanel/useResizeDectorByObserver', + 'src/explore/components/ExploreChartPanel/useResizeDetectorByObserver', () => ({ __esModule: true, default: () => ({ height: 100, width: 100 }),