fix: update test

This commit is contained in:
iamkun 2022-05-06 15:40:24 +08:00
parent 11e302e39c
commit a34031169d

View File

@ -42,7 +42,7 @@ describe('Calendar', () => {
});
it('Calendar should be selectable', () => {
MockDate.set(Moment('2000-01-01').valueOf());
MockDate.set(Dayjs('2000-01-01').valueOf());
const onSelect = jest.fn();
const onChange = jest.fn();