mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 16:06:28 +08:00
Merge pull request #17377 from ant-design/fix-test
chore: update test case
This commit is contained in:
commit
4d5dae078f
@ -94,8 +94,8 @@ describe('Form', () => {
|
||||
return (
|
||||
<Form>
|
||||
<Form.Item label="Account">
|
||||
{form.getFieldDecorator('account')(<input />)}
|
||||
{form.getFieldDecorator('account')(<input />)}
|
||||
{form.getFieldDecorator('field_1')(<input />)}
|
||||
{form.getFieldDecorator('field_2')(<input />)}
|
||||
</Form.Item>
|
||||
</Form>
|
||||
);
|
||||
@ -115,8 +115,8 @@ describe('Form', () => {
|
||||
return (
|
||||
<Form>
|
||||
<Form.Item label="Account" help="custom help information">
|
||||
{form.getFieldDecorator('account')(<input />)}
|
||||
{form.getFieldDecorator('account')(<input />)}
|
||||
{form.getFieldDecorator('field_1')(<input />)}
|
||||
{form.getFieldDecorator('field_2')(<input />)}
|
||||
</Form.Item>
|
||||
</Form>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user