aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/actions/tx_test.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/actions/tx_test.js')
-rw-r--r--test/unit/actions/tx_test.js9
1 files changed, 4 insertions, 5 deletions
diff --git a/test/unit/actions/tx_test.js b/test/unit/actions/tx_test.js
index 267cfee97..67c72e9a5 100644
--- a/test/unit/actions/tx_test.js
+++ b/test/unit/actions/tx_test.js
@@ -49,12 +49,11 @@ 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()
})
- result = reducers(initialState, action)
- done()
+
})
it('should transition to the account detail view', function () {