mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
better test for server error
This commit is contained in:
parent
1890475d59
commit
34ce6fb333
@ -176,8 +176,8 @@ describe('CreationFormular', () => {
|
|||||||
await wrapper.find('.test-submit').trigger('click')
|
await wrapper.find('.test-submit').trigger('click')
|
||||||
})
|
})
|
||||||
|
|
||||||
it('sends ... to apollo', () => {
|
it('toasts an error message', () => {
|
||||||
expect(toastedErrorMock).toBeCalled()
|
expect(toastedErrorMock).toBeCalledWith('Ouch!')
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user