ant-design/components/switch/__tests__/index.test.js
Wei Zhu 9678d3fcfd
Focus && blur support (#8204)
* Add test for select

* Add focus() and blur() for AutoComplete

* Add focus() and blur() to Cascader

* Add focus test for input

* Add focus() and blur() for Checkbox

* Add focus() and blur() for Radio

* Add focus() and blur() for Switch

* Add blur() for TimePicker

* Add focus() and blur() to TreeSelect
2017-11-19 01:41:40 +08:00

7 lines
135 B
JavaScript

import Switch from '..';
import focusTest from '../../../tests/shared/focusTest';
describe('Switch', () => {
focusTest(Switch);
});