提交 a20536f8 编写于 作者: Z zy410419243

chore: update type of Header

上级 19dc14af
......@@ -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');
});
});
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册