mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +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:
@@ -20,8 +20,8 @@ import React from 'react';
|
||||
import SyntaxHighlighter from 'react-syntax-highlighter';
|
||||
import { mount, shallow } from 'enzyme';
|
||||
|
||||
import HighlightedSql from '../../../src/SqlLab/components/HighlightedSql';
|
||||
import ModalTrigger from '../../../src/components/ModalTrigger';
|
||||
import HighlightedSql from 'src/SqlLab/components/HighlightedSql';
|
||||
import ModalTrigger from 'src/components/ModalTrigger';
|
||||
|
||||
describe('HighlightedSql', () => {
|
||||
const sql =
|
||||
|
||||
Reference in New Issue
Block a user