mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 13:47: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);
|
|
});
|