mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +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:
@@ -22,7 +22,7 @@ import { Button } from 'react-bootstrap';
|
||||
import { shallow } from 'enzyme';
|
||||
import sinon from 'sinon';
|
||||
|
||||
import QuerySearch from '../../../src/SqlLab/components/QuerySearch';
|
||||
import QuerySearch from 'src/SqlLab/components/QuerySearch';
|
||||
|
||||
describe('QuerySearch', () => {
|
||||
const search = sinon.spy(QuerySearch.prototype, 'refreshQueries');
|
||||
|
||||
Reference in New Issue
Block a user