style: listviews closer to SIP-34 (#10094)

This commit is contained in:
ʈᵃᵢ
2020-06-23 14:17:28 -07:00
committed by GitHub
parent 4d1d40989c
commit be936c2eb8
17 changed files with 687 additions and 417 deletions

View File

@@ -21,6 +21,8 @@ import { mount } from 'enzyme';
import thunk from 'redux-thunk';
import configureStore from 'redux-mock-store';
import fetchMock from 'fetch-mock';
import { ThemeProvider } from 'emotion-theming';
import { supersetTheme } from '@superset-ui/style';
import ChartList from 'src/views/chartList/ChartList';
import ListView from 'src/components/ListView/ListView';
@@ -77,6 +79,8 @@ describe('ChartList', () => {
const mockedProps = {};
const wrapper = mount(<ChartList {...mockedProps} />, {
context: { store },
wrappingComponent: ThemeProvider,
wrappingComponentProps: { theme: supersetTheme },
});
it('renders', () => {