ant-design/components/rate/__tests__/index.test.js
xrkffgg df63f2567a
refactor(rate): rewrite with hook (#23545)
* refactor(rate): rewrite with hook

* fix: useContext

* fix

* remove

* fix: add displayName
2020-04-27 13:42:04 +08:00

11 lines
295 B
JavaScript

import Rate from '..';
import focusTest from '../../../tests/shared/focusTest';
import mountTest from '../../../tests/shared/mountTest';
import rtlTest from '../../../tests/shared/rtlTest';
describe('Rate', () => {
focusTest(Rate, { refFocus: true });
mountTest(Rate);
rtlTest(Rate);
});