mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
change modal test
This commit is contained in:
parent
05cd05094b
commit
97590373cb
@ -89,9 +89,7 @@ describe('TransactionLink', () => {
|
||||
const spy = jest.spyOn(wrapper.vm.$bvModal, 'msgBoxConfirm')
|
||||
spy.mockImplementation(() => Promise.resolve('some value'))
|
||||
wrapper.vm.deleteLink()
|
||||
wrapper.vm.$nextTick(() => {
|
||||
expect(spy).toHaveBeenCalled()
|
||||
})
|
||||
expect(spy).toHaveBeenCalled()
|
||||
})
|
||||
|
||||
it('calls the API', () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user