Skip to content

Commit e8e47a4

Browse files
committed
test: keep react testing event behavior
1 parent 53cc34d commit e8e47a4

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/index.spec.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
import { fireEvent } from '@testing-library/dom';
21
import React from 'react';
32
import { KeyCode } from '@rc-component/util';
4-
import { render } from '@testing-library/react';
3+
import { fireEvent, render } from '@testing-library/react';
54
import Switch from '..';
65

76
describe('rc-switch', () => {

0 commit comments

Comments
 (0)