diff --git a/src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid.test.tsx b/src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid.test.tsx index 2614695ebd03..41d86a5d370f 100644 --- a/src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid.test.tsx +++ b/src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid.test.tsx @@ -10,22 +10,27 @@ import sizeMe from 'react-sizeme'; import React from 'react'; -import { - CONTACT_CARD_EMBEDDABLE, -} from '@kbn/embeddable-plugin/public/lib/test_samples/embeddables'; +import { CONTACT_CARD_EMBEDDABLE } from '@kbn/embeddable-plugin/public/lib/test_samples/embeddables'; import { mountWithIntl } from '@kbn/test-jest-helpers'; import { pluginServices } from '../../../services/plugin_services'; import { DashboardGrid } from './dashboard_grid'; import { DashboardContainer } from '../../embeddable/dashboard_container'; -import { getSampleDashboardInput, mockDashboardReduxEmbeddableTools } from '../../../mocks'; +import { getSampleDashboardInput } from '../../../mocks'; jest.mock('./dashboard_grid_item', () => ({ DashboardGridItem: require('react').forwardRef((props, ref) => { - const className = props.expandedPanelId === undefined - ? 'regularPanel' - : props.expandedPanelId === props.id ? 'expandedPanel' : 'hiddenPanel'; - return