change modal test

This commit is contained in:
ogerly 2022-03-17 11:56:11 +01:00
parent 05cd05094b
commit 97590373cb

View File

@ -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', () => {