mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-03 04:30:06 +08:00
chore: update type of Header
This commit is contained in:
parent
19dc14af5c
commit
a20536f850
@ -225,7 +225,7 @@ describe('Calendar', () => {
|
||||
value={value}
|
||||
validRange={[start, end]}
|
||||
locale={{ year: '年' }}
|
||||
type="date"
|
||||
type="month"
|
||||
/>,
|
||||
);
|
||||
wrapper
|
||||
@ -254,6 +254,6 @@ describe('Calendar', () => {
|
||||
.find('input')
|
||||
.at(1)
|
||||
.simulate('change');
|
||||
expect(onTypeChange).toBeCalledWith('month');
|
||||
expect(onTypeChange).toBeCalledWith('year');
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user