1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Add missing done

This commit is contained in:
Dan Finlay 2017-07-05 23:04:51 -07:00
parent ef1282b556
commit 96df7ad8d3

View File

@ -342,6 +342,7 @@ describe('Transaction Controller', function () {
}
// Stubbing out current account state:
txController.ethStore = { getState: noop }
const getStateStub = sinon.stub(txController.ethStore, 'getState')
.returns(fakeStoreState)
@ -354,9 +355,9 @@ describe('Transaction Controller', function () {
const updatedMeta = txController.getTx(txMeta.id)
assert.notEqual(updatedMeta.status, txMeta.status, 'status changed.')
assert.notEqual(updatedMeta.status, 'failed', 'tx set to failed.')
done()
})
})
})
})