diff --git a/frontend/src/components/TransactionLinks/TransactionLink.spec.js b/frontend/src/components/TransactionLinks/TransactionLink.spec.js index d2c226026..f3eaf72ce 100644 --- a/frontend/src/components/TransactionLinks/TransactionLink.spec.js +++ b/frontend/src/components/TransactionLinks/TransactionLink.spec.js @@ -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', () => {