mirror of
https://github.com/apache/superset.git
synced 2026-04-21 09:04:38 +00:00
[dashboard] new, bulk actions for delete & export (#8979)
* bulk actions for dashboards list view * add confirm component * finish bulk actions work * remove loading component * fix sortby double render bug, lint, fix specs * adds spec for bulk actions * fix spec * spec ConfirmStatusChange * lint * tslint * address review feedback * tslint fixes * guard against empty filterTypes * persist dom events * tslint
This commit is contained in:
@@ -23,8 +23,7 @@ import configureStore from 'redux-mock-store';
|
||||
import fetchMock from 'fetch-mock';
|
||||
|
||||
import ListView from 'src/components/ListView/ListView';
|
||||
import DashboardTable from '../../../src/welcome/DashboardTable';
|
||||
import Loading from '../../../src/components/Loading';
|
||||
import DashboardTable from 'src/welcome/DashboardTable';
|
||||
|
||||
// store needed for withToasts(DashboardTable)
|
||||
const mockStore = configureStore([thunk]);
|
||||
@@ -43,11 +42,6 @@ function setup() {
|
||||
describe('DashboardTable', () => {
|
||||
beforeEach(fetchMock.resetHistory);
|
||||
|
||||
it('renders a Loading initially', () => {
|
||||
const wrapper = setup();
|
||||
expect(wrapper.find(Loading)).toHaveLength(1);
|
||||
});
|
||||
|
||||
it('fetches dashboards and renders a ListView', done => {
|
||||
const wrapper = setup();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user