ESLint: Enable rule no-named-as-default (#10879)

* Enable rule no-named-as-default

* Fix wrong import
This commit is contained in:
Kamil Gabryjelski
2020-09-18 22:41:01 +02:00
committed by GitHub
parent 91fd06e093
commit 557a303cc5
19 changed files with 21 additions and 33 deletions

View File

@@ -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', () => {