Skip to content

Commit 15291e4

Browse files
committed
test(useForm): update test
1 parent 18bafc7 commit 15291e4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/__tests__/useForm.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,7 @@ it('handleSubmit validates', () => {
284284
expect(input1Spy).toBeCalledWith(initialState.form)
285285
expect(input2Spy).toBeCalledWith(initialState.form)
286286
expect(submitMock).toBeCalledWith({
287+
name: 'form',
287288
fields: initialState.form,
288289
finish: expect.any(Function),
289290
setLoading: expect.any(Function)

0 commit comments

Comments
 (0)