aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/tx-controller-test.js
Commit message (Collapse)AuthorAgeFilesLines
* Moved loose some loose test files to sub folderstmashuang2018-05-211-463/+0
|
* transactions - add a nonce check utility for ui usefrankiebee2018-05-021-0/+30
|
* test - unit - send from test accounts to avoid not-enough-balance error from ↵kumavis2018-04-281-11/+11
| | | | ganache
* meta - transactions - code clean up and jsDocfrankiebee2018-04-141-2/+2
|
* meta - transactions - create a transactions dir in controller and move ↵frankiebee2018-04-111-94/+1
| | | | relevant files into it
* transactions - _normalizeTxParams will now return a new object for txParamsfrankiebee2018-04-061-9/+9
|
* transactions - remove unnecessary keys on txParamsfrankiebee2018-04-051-1/+2
|
* transactions - make #_validateTxParams not async and "linting" wink wink ↵frankiebee2018-04-051-11/+8
| | | | nudge nudge
* transactions - normalize txParamsfrankiebee2018-04-051-2/+72
|
* tests - fix txController tests so that txMetas have a from feildfrankiebee2018-04-031-2/+4
|
* tests - add tests for transactions#retryTransaction and ↵frankiebee2018-03-141-1/+44
| | | | transactions#_markNonceDuplicatesDropped
* test - createTestProviderTools includes block tracker layerkumavis2018-01-181-13/+11
|
* test - tx controller - fix txGasUtil referencekumavis2018-01-181-2/+2
|
* test - typo - fix spelling of word stubbedkumavis2018-01-181-2/+2
|
* test - remove createEthJsQueryStubkumavis2018-01-181-4/+2
|
* test - fix to match expected behaviorfrankiebee2018-01-151-14/+28
|
* newUnaprovedTx => newUnapprovedTxDora E. Mondrian2017-11-061-4/+4
| | | | This typo tripped me up when I was reading through the code and trying to understand what's going on.
* pending-tx - dont check the balance to rebrodcastfrankiebee2017-09-301-25/+0
|
* pending-tx - move incrementing of the retryCount on the txMeta outside ↵frankiebee2017-09-271-1/+1
| | | | pending-tx-tracker
* fix testsfrankiebee2017-09-271-2/+2
|
* Merge branch 'transactionControllerRefractorPt3' of ↵frankiebee2017-09-271-14/+153
|\ | | | | | | https://github.com/MetaMask/metamask-extension into transactionControllerRefractorPt3
| * Clean up transactionController teststmashuang2017-09-261-71/+53
| |
| * Remove pending updateAndApprovedTransaction testtmashuang2017-09-261-10/+0
| |
| * Most of transaction controller teststmashuang2017-09-231-12/+180
| |
* | transactions: lint fixes and reveal status-update event for balance controllerfrankiebee2017-09-271-1/+1
| |
* | Merge branch 'master' into transactionControllerRefractorPt3frankiebee2017-09-271-2/+2
|\ \ | |/ |/|
| * Fix test referencesDan Finlay2017-09-231-2/+2
| |
* | add test for pendingTxCountfrankiebee2017-09-141-0/+13
| |
* | match other controller patternsfrankiebee2017-09-131-1/+1
| |
* | more tests and craete a getPendingTransactions functionfrankiebee2017-09-091-0/+22
| |
* | add better commentsfrankiebee2017-09-061-2/+2
| |
* | Merge branch 'master' into transactionControllerRefractorPt3frankiebee2017-08-221-2/+7
|\|
| * tx controller - test - fix typo from moved testkumavis2017-08-151-3/+3
| |
| * tx controller - test - test tx state history in updateTxkumavis2017-08-151-6/+18
| |
| * introduce tx-state-history-helper and diff-based historykumavis2017-08-151-5/+8
| |
* | Create tests for TxStateManagerfrankiebee2017-08-191-196/+26
|/
* use provider stubfrankiebee2017-08-091-23/+11
|
* test for pending tx watcherfrankiebee2017-08-051-46/+3
|
* fix testfrankiebee2017-08-031-1/+1
|
* move newUnapprovedTransaction to transactions.jsfrankiebee2017-08-031-3/+66
|
* add test for addTxDefaultsfrankiebee2017-08-021-5/+30
|
* make addUnapprovedTransaction async function and use promise based ethQueryfrankiebee2017-08-021-23/+49
|
* tx cont - fix test to use async apikumavis2017-07-261-2/+6
|
* make publishTransaction and signTransaction async methodsfrankiebee2017-07-141-11/+9
|
* test - tx controller - fix promise handlingkumavis2017-07-081-5/+2
|
* test - tx-controller - stub block-tracker methodkumavis2017-07-081-1/+1
|
* Merge branch 'master' into nonce-trackerkumavis2017-07-081-0/+40
|\
| * Fix failing testDan Finlay2017-07-061-27/+29
| |
| * Add missing doneDan Finlay2017-07-061-1/+2
| |
| * Typo fixDan Finlay2017-07-061-1/+1
| |
| * Add failing test for retrying an over-spending txDan Finlay2017-07-061-0/+37
| |
| * add a check for weather a tx is included in a block when jumping blocksfrankiebee2017-06-151-0/+1
| |
* | remove irrelevant testfrankiebee2017-06-171-5/+0
| |
* | Fix test to call donefrankiebee2017-06-161-7/+8
| |
* | transaction controller - use nonce-trackerkumavis2017-06-151-3/+4
|/
* Finish async when failing async testThomas Huang2017-06-131-1/+1
|
* Make test AsyncThomas Huang2017-06-131-1/+2
|
* LintingThomas Huang2017-06-131-1/+0
|
* Fix for testsfrankiebee2017-05-241-1/+3
|
* Add test around txManager#approveTransactionDan Finlay2017-05-171-3/+64
|
* Improve testDan Finlay2017-05-171-1/+5
|
* Add gas updating test to tx controller testsDan Finlay2017-05-171-1/+21
|
* Rename tx manager to tx controllerDan Finlay2017-05-171-0/+237