Add missing done

This commit is contained in:
Dan Finlay 2017-07-05 23:04:51 -07:00
parent ef1282b556
commit 96df7ad8d3
1 changed files with 2 additions and 1 deletions

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()
})
})
})
})