mirror of
https://github.com/apache/superset.git
synced 2026-05-11 19:05:24 +00:00
fix(chart): scrollbar keep flusing on and off (#23778)
This commit is contained in:
@@ -78,10 +78,13 @@ const reduxState = {
|
||||
const KEY = 'aWrs7w29sd';
|
||||
const SEARCH = `?form_data_key=${KEY}&dataset_id=1`;
|
||||
|
||||
jest.mock('react-resize-detector', () => ({
|
||||
__esModule: true,
|
||||
useResizeDetector: () => ({ height: 100, width: 100 }),
|
||||
}));
|
||||
jest.mock(
|
||||
'src/explore/components/ExploreChartPanel/useResizeDetectorByObserver',
|
||||
() => ({
|
||||
__esModule: true,
|
||||
default: () => ({ height: 100, width: 100 }),
|
||||
}),
|
||||
);
|
||||
|
||||
jest.mock('lodash/debounce', () => ({
|
||||
__esModule: true,
|
||||
|
||||
Reference in New Issue
Block a user