test - actions - tx - fix async test

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

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

Loading…
Cancel
Save