mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Fix LoginForm test and lints
This commit is contained in:
parent
6a0bdc02aa
commit
3781ba5d2e
@ -51,11 +51,10 @@ describe('LoginForm', () => {
|
|||||||
|
|
||||||
it('dispatches login with form data', () => {
|
it('dispatches login with form data', () => {
|
||||||
fillIn(Wrapper())
|
fillIn(Wrapper())
|
||||||
expect(storeMocks.actions['auth/login']).toHaveBeenCalledWith(
|
expect(storeMocks.actions['auth/login']).toHaveBeenCalledWith(expect.any(Object), {
|
||||||
expect.any(Object),
|
email: 'email@example.org',
|
||||||
{ email: 'email@example.org', password: '1234' },
|
password: '1234',
|
||||||
undefined,
|
})
|
||||||
)
|
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user