Frankie
ce147bf6d8
Tx controller now uses safe event emitter ( #5769 )
...
* transactions - use safe-event-emitter over events
* tests - pass a platform object on init with a noop showTransactionNotification
* test - fix for tx-state-history-helper trying to reduce an empty array
* deps - safe-event-emitter
* lint
6 years ago
Dan Finlay
22ba0b0c2d
Resubmit approved transactions on new block ( #5752 )
...
* Add beginning of test
* Resubmit approved transactions on new block
May fix #4343 and related issues, where an error could leave
transactions stranded in the approved state.
* Remove unused test
* Re-approve transactions when retrying approved
* Add retry approved test
* Include approved in pending tx count
* Fix getPendingTxs()
* Linted
* Only throw hash error in submitted state
* Only check submitted txs for block inclusion
* Fix test expectations
6 years ago
brunobar79
992e7f1b5a
fix merge conflicts
6 years ago
kumavis
fa02a6c7c6
test - unit - remove tests for obsolete methods
7 years ago
brunobar79
0da41263ac
fix warning for unit tests
7 years ago
brunobar79
a8f745f9fe
eslint --fix .
7 years ago
kumavis
31f47a7a42
test - unit - pending-tx-tracker - update method name
7 years ago
kumavis
5be154ea20
controllers - transactions - merge @frankiebee's work with mine
7 years ago
kumavis
deab195772
test - unit - code style nitpick
7 years ago
tmashuang
13ebb0b455
Moved loose some loose test files to sub folders
7 years ago
Dan
6bc8cc819a
Merge branch 'develop' into i3725-refactor-send-component-
7 years ago
frankiebee
2d7c3c2b00
meta - transactions - create a transactions dir in controller and move relevant files into it
7 years ago
Thomas
7aa54916d8
Update Sinon methods. sinon.sandbox.create() -> sandbox.createSandbox()
7 years ago
Thomas
06e25205b2
Update sinion methods. sandbox.create() -> createSandbox()
7 years ago
kumavis
899e839e7c
test - createTestProviderTools includes block tracker layer
7 years ago
kumavis
d1d745eef4
test - typo - fix spelling of word stubbed
7 years ago
frankiebee
0c54efdfc7
tests - be more verbose in test messages
7 years ago
frankiebee
8bd942d406
add tests for #_checkIfNonceIsTaken
7 years ago
Dan
3356c15d04
Add tests for exponential backoff code in _resubmitTx
7 years ago
Dan
af8fcb6777
Update resubmitPendingTxs tests.
7 years ago
Dan
b7653e8207
Get current NewUI-flat tests working.
7 years ago
Chi Kei Chan
996523c790
Fix unit test
7 years ago
Dan Finlay
94513cae7b
Provide method for tx tracker to refer to all txs
7 years ago
Dan Finlay
a32d71e8ed
Add failing test for issue #2294
7 years ago
kumavis
25a80932a6
pending tx tracker - test - expect warning event on resubmit failure
7 years ago
kumavis
a86f6d6d90
pending tx tracker - test - rename tests to match event name
7 years ago
frankiebee
ac80eaca1f
pending-tx - dont check the balance to rebrodcast
7 years ago
kumavis
b41aad6d1a
style - small whitespace nitpick
7 years ago
frankiebee
80c98b1653
transactions: make evnt names pretty and eaiser to read
7 years ago
frankiebee
e761fb0ef7
use provider stub
7 years ago
frankiebee
28fbdca830
remove .only
7 years ago
frankiebee
e7f838e626
fix test
7 years ago
frankiebee
54739cb798
test for pending tx watcher
7 years ago