mirror of
https://github.com/apache/superset.git
synced 2026-04-10 11:55:24 +00:00
ESLint: Enable rule no-named-as-default (#10879)
* Enable rule no-named-as-default * Fix wrong import
This commit is contained in:
committed by
GitHub
parent
91fd06e093
commit
557a303cc5
@@ -25,7 +25,7 @@ import { shallow } from 'enzyme';
|
||||
import getInitialState from 'src/explore/reducers/getInitialState';
|
||||
import ExploreViewContainer from 'src/explore/components/ExploreViewContainer';
|
||||
import QueryAndSaveBtns from 'src/explore/components/QueryAndSaveBtns';
|
||||
import ControlPanelsContainer from 'src/explore/components/ControlPanelsContainer';
|
||||
import ConnectedControlPanelsContainer from 'src/explore/components/ControlPanelsContainer';
|
||||
import ChartContainer from 'src/explore/components/ExploreChartPanel';
|
||||
import * as featureFlags from 'src/featureFlags';
|
||||
|
||||
@@ -72,7 +72,7 @@ describe('ExploreViewContainer', () => {
|
||||
});
|
||||
|
||||
it('renders ControlPanelsContainer', () => {
|
||||
expect(wrapper.find(ControlPanelsContainer)).toExist();
|
||||
expect(wrapper.find(ConnectedControlPanelsContainer)).toExist();
|
||||
});
|
||||
|
||||
it('renders ChartContainer', () => {
|
||||
|
||||
Reference in New Issue
Block a user