1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00

Remove async

This commit is contained in:
Thomas 2019-10-23 12:43:22 -07:00
parent 94a4b4d7db
commit 5f53e4b67e

View File

@ -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.stub(background, 'signTypedMessage')
store.dispatch(await actions.signTypedMsg(msgParamsV3))
store.dispatch(actions.signTypedMsg(msgParamsV3))
assert(signTypedMsgSpy.calledOnce)
})