mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
sql lab localStorage config (#6257)
This commit is contained in:
@@ -8,8 +8,8 @@ import fetchMock from 'fetch-mock';
|
||||
|
||||
import shortid from 'shortid';
|
||||
import { queries, queryWithBadColumns } from './fixtures';
|
||||
import { sqlLabReducer } from '../../../src/SqlLab/reducers';
|
||||
import * as actions from '../../../src/SqlLab/actions';
|
||||
import sqlLabReducer from '../../../src/SqlLab/reducers/index';
|
||||
import * as actions from '../../../src/SqlLab/actions/sqlLab';
|
||||
import ExploreResultsButton from '../../../src/SqlLab/components/ExploreResultsButton';
|
||||
import * as exploreUtils from '../../../src/explore/exploreUtils';
|
||||
import Button from '../../../src/components/Button';
|
||||
@@ -23,9 +23,9 @@ describe('ExploreResultsButton', () => {
|
||||
const initialState = {
|
||||
sqlLab: {
|
||||
...sqlLabReducer(undefined, {}),
|
||||
common: {
|
||||
conf: { SUPERSET_WEBSERVER_TIMEOUT: 45 },
|
||||
},
|
||||
},
|
||||
common: {
|
||||
conf: { SUPERSET_WEBSERVER_TIMEOUT: 45 },
|
||||
},
|
||||
};
|
||||
const store = mockStore(initialState);
|
||||
|
||||
Reference in New Issue
Block a user