ant-design/components/date-picker/__tests__/mount.test.ts
lijianan 8010cd19b6
test: migrate part of DatePicker tests ()
* 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
2022-08-18 17:40:47 +08:00

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);
});