test - actions - tx - fix async test

feature/default_network_editable
kumavis 7 years ago committed by GitHub
parent efb7543c6d
commit d526f68c8e
  1. 9
      test/unit/actions/tx_test.js

@ -49,12 +49,11 @@ describe('tx confirmation screen', function () {
clearSeedWordCache (cb) { cb() }, clearSeedWordCache (cb) { cb() },
}) })
let action actions.cancelTx({value: firstTxId})((action) => {
actions.cancelTx({value: firstTxId})((dispatchAction) => { result = reducers(initialState, action)
action = dispatchAction done()
}) })
result = reducers(initialState, action)
done()
}) })
it('should transition to the account detail view', function () { it('should transition to the account detail view', function () {

Loading…
Cancel
Save