diff --git a/superset-frontend/spec/javascripts/dashboard/components/MissingChart_spec.jsx b/superset-frontend/spec/javascripts/dashboard/components/MissingChart_spec.jsx index b9adcbac2..5a1eeae22 100644 --- a/superset-frontend/spec/javascripts/dashboard/components/MissingChart_spec.jsx +++ b/superset-frontend/spec/javascripts/dashboard/components/MissingChart_spec.jsx @@ -19,7 +19,6 @@ import React from 'react'; import { shallow } from 'enzyme'; -import Loading from '../../../../src/components/Loading'; import MissingChart from '../../../../src/dashboard/components/MissingChart'; describe('MissingChart', () => { @@ -37,9 +36,4 @@ describe('MissingChart', () => { const wrapper = setup(); expect(wrapper.find('.missing-chart-body')).toHaveLength(1); }); - - it('renders a Loading', () => { - const wrapper = setup(); - expect(wrapper.find(Loading)).toHaveLength(1); - }); }); diff --git a/superset-frontend/src/dashboard/components/MissingChart.jsx b/superset-frontend/src/dashboard/components/MissingChart.jsx index 34d3d2da8..e46f100e3 100644 --- a/superset-frontend/src/dashboard/components/MissingChart.jsx +++ b/superset-frontend/src/dashboard/components/MissingChart.jsx @@ -20,8 +20,6 @@ import PropTypes from 'prop-types'; import React from 'react'; import { t } from '@superset-ui/translation'; -import Loading from '../../components/Loading'; - const propTypes = { height: PropTypes.number.isRequired, }; @@ -29,9 +27,6 @@ const propTypes = { export default function MissingChart({ height }) { return (