chore: fix lint

This commit is contained in:
zombiej 2022-06-10 17:28:55 +08:00
parent 2c8b318d4e
commit e0ed89418b
5 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,4 @@
import React from 'react';
import { act } from 'react-dom/test-utils'; import { act } from 'react-dom/test-utils';
import AutoComplete from '..'; import AutoComplete from '..';
import { render } from '../../../tests/utils'; import { render } from '../../../tests/utils';

View File

@ -1,3 +1,4 @@
import React from 'react';
import AutoComplete from '..'; import AutoComplete from '..';
import mountTest from '../../../tests/shared/mountTest'; import mountTest from '../../../tests/shared/mountTest';
import rtlTest from '../../../tests/shared/rtlTest'; import rtlTest from '../../../tests/shared/rtlTest';

View File

@ -1,3 +1,4 @@
import React from 'react';
import BackTop from '..'; import BackTop from '..';
import mountTest from '../../../tests/shared/mountTest'; import mountTest from '../../../tests/shared/mountTest';
import rtlTest from '../../../tests/shared/rtlTest'; import rtlTest from '../../../tests/shared/rtlTest';

View File

@ -1,3 +1,4 @@
import React from 'react';
import Menu from '..'; import Menu from '..';
describe('Menu.typescript', () => { describe('Menu.typescript', () => {

View File

@ -1,3 +1,4 @@
import * as React from 'react';
import KeyCode from 'rc-util/lib/KeyCode'; import KeyCode from 'rc-util/lib/KeyCode';
import { fireEvent, render } from '../../../tests/utils'; import { fireEvent, render } from '../../../tests/utils';
import Paragraph from '../Paragraph'; import Paragraph from '../Paragraph';