Skip to content

Commit

Permalink
Fixed getFormProps() test without custom props
Browse files Browse the repository at this point in the history
  • Loading branch information
jalik committed Apr 16, 2024
1 parent 35d46fb commit 7a64583
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/useForm.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,6 @@ describe('useForm()', () => {
it('should return default props', () => {
const props = result.current.getFormProps()
expect(props).toBeDefined()
expect(props.method).toBe('post')
expect(typeof props.onSubmit).toBe('function')
expect(typeof props.onReset).toBe('function')
})
Expand Down

0 comments on commit 7a64583

Please sign in to comment.