Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 18e3e1b

Browse files
committed
Fixed exception
1 parent ac8a2a0 commit 18e3e1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/FieldArray.test.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ describe('FieldArray', () => {
637637
const onSubmit = jest.fn((values, form) => {
638638
expect(values).toEqual({ names: ['erikras'] })
639639
return Promise.resolve().then(() => {
640-
form.reset()
640+
setTimeout(form.reset)
641641
})
642642
})
643643
const { getByTestId, getByText } = render(

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /