mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
fix test
This commit is contained in:
parent
c6a4e1a9df
commit
ae4b88055e
@ -374,12 +374,12 @@ describe('TransactionLink', () => {
|
|||||||
|
|
||||||
describe('error on transaction link query', () => {
|
describe('error on transaction link query', () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
apolloQueryMock.mockRejectedValue({ message: 'Ouchh!' })
|
apolloQueryMock.mockRejectedValue({ message: 'gdd_per_link.redeemlink-error' })
|
||||||
wrapper = Wrapper()
|
wrapper = Wrapper()
|
||||||
})
|
})
|
||||||
|
|
||||||
it('toasts an error message', () => {
|
it('toasts an error message', () => {
|
||||||
expect(toastErrorSpy).toBeCalledWith('Ouchh!')
|
expect(toastErrorSpy).toBeCalledWith('gdd_per_link.redeemlink-error')
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user