mirror of
https://github.com/apache/superset.git
synced 2026-04-14 13:44:46 +00:00
test(frontend): use absolute path for src imports (#9761)
* test(frontend): use absolute path for src imports * Upgrade prettier, fix eslint
This commit is contained in:
@@ -24,9 +24,9 @@ import fetchMock from 'fetch-mock';
|
||||
import * as featureFlags from 'src/featureFlags';
|
||||
import { shallow } from 'enzyme';
|
||||
|
||||
import * as utils from '../../../src/utils/common';
|
||||
import Button from '../../../src/components/Button';
|
||||
import ShareSqlLabQuery from '../../../src/SqlLab/components/ShareSqlLabQuery';
|
||||
import * as utils from 'src/utils/common';
|
||||
import Button from 'src/components/Button';
|
||||
import ShareSqlLabQuery from 'src/SqlLab/components/ShareSqlLabQuery';
|
||||
|
||||
const mockStore = configureStore([thunk]);
|
||||
const store = mockStore();
|
||||
|
||||
Reference in New Issue
Block a user