diff --git a/test/unit/ui/app/actions.spec.js b/test/unit/ui/app/actions.spec.js index 713edd821..9ed21e729 100644 --- a/test/unit/ui/app/actions.spec.js +++ b/test/unit/ui/app/actions.spec.js @@ -784,11 +784,11 @@ describe('Actions', () => { signTypedMsgSpy.restore() }) - it('calls signTypedMsg in background with no error', async () => { + it('calls signTypedMsg in background with no error', () => { const store = mockStore() - signTypedMsgSpy = sinon.spy(background, 'signTypedMessage') + signTypedMsgSpy = sinon.stub(background, 'signTypedMessage') - await store.dispatch(actions.signTypedMsg(msgParamsV3)) + store.dispatch(actions.signTypedMsg(msgParamsV3)) assert(signTypedMsgSpy.calledOnce) })