mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-17 18:42:47 +08:00
8010cd19b6
* test: migrate part of DatePicker tests * test: migrate part of DatePicker tests * fix: update snap * test: migrate part of DatePicker tests * test: migrate part of DatePicker tests * test: migrate part of DatePicker tests * test: migrate part of DatePicker tests * test: migrate part of DatePicker tests * test: migrate part of DatePicker tests * test: remove useless methods * test: add test ignore
18 lines
429 B
TypeScript
18 lines
429 B
TypeScript
import DatePicker from '..';
|
|
import mountTest from '../../../tests/shared/mountTest';
|
|
import rtlTest from '../../../tests/shared/rtlTest';
|
|
|
|
const { MonthPicker, WeekPicker, RangePicker } = DatePicker;
|
|
|
|
describe('mount', () => {
|
|
mountTest(DatePicker);
|
|
mountTest(MonthPicker);
|
|
mountTest(WeekPicker);
|
|
mountTest(RangePicker);
|
|
|
|
rtlTest(DatePicker);
|
|
rtlTest(MonthPicker);
|
|
rtlTest(WeekPicker);
|
|
rtlTest(RangePicker);
|
|
});
|