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:
parent
ef1282b556
commit
96df7ad8d3
@ -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()
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user