mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-16 01:41:02 +08:00
df63f2567a
* refactor(rate): rewrite with hook * fix: useContext * fix * remove * fix: add displayName
11 lines
295 B
JavaScript
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);
|
|
});
|