Merge pull request #17377 from ant-design/fix-test

chore: update test case
This commit is contained in:
陈帅 2019-06-30 22:00:26 +08:00 committed by GitHub
commit 4d5dae078f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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