aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
Commit message (Expand)AuthorAgeFilesLines
* Fix unit testChi Kei Chan2017-10-212-2/+3
* Revert "NetworkController refactor for new EthClient interface"kumavis2017-10-192-9/+23
* Move etherscan link logic into moduleDan Finlay2017-10-142-30/+0
* nonce-tracker - use blockTracker directlykumavis2017-10-121-3/+4
* network-controller - use obj-proxy for providerProxykumavis2017-10-111-20/+5
* Make modificationKevin Serrano2017-10-101-1/+1
* Fix to actually fail in earlier versions.Kevin Serrano2017-10-101-5/+7
* Add test to look for wei precision.Kevin Serrano2017-10-101-0/+36
* Merge pull request #2305 from MetaMask/nodeifyFrankie2017-10-071-4/+3
|\
| * nodeify - fix testkumavis2017-10-071-4/+3
* | Provide method for tx tracker to refer to all txsDan Finlay2017-10-071-2/+3
* | Add failing test for issue #2294Dan Finlay2017-10-071-1/+52
|/
* pending tx tracker - test - expect warning event on resubmit failurekumavis2017-10-031-2/+9
* pending tx tracker - test - rename tests to match event namekumavis2017-10-031-4/+4
* Merge branch 'history-notes' of github.com:MetaMask/metamask-extension into h...kumavis2017-10-031-3/+0
|\
| * tx state history - fix bug where initial snapshot was mutated on updateTxkumavis2017-10-031-0/+22
* | tx state history - test - fix format of history entrieskumavis2017-10-031-0/+26
|/
* pending-tx - dont check the balance to rebrodcastfrankiebee2017-09-302-51/+1
* Merge pull request #2124 from MetaMask/breakout-mascarakumavis2017-09-281-0/+1
|\
| * stub platformfrankiebee2017-09-201-0/+1
* | Merge branch 'master' into new-currency-testkumavis2017-09-288-404/+577
|\ \
| * \ Merge pull request #2194 from MetaMask/network-controller-refactorkumavis2017-09-281-3/+3
| |\ \
| | * | network controller - refactor to use _setProviderkumavis2017-09-281-3/+3
| * | | Merge branch 'master' into direct-block-trackerkumavis2017-09-285-233/+471
| |\ \ \
| | * \ \ Merge pull request #2035 from MetaMask/transactionControllerRefractorPt3kumavis2017-09-285-233/+471
| | |\ \ \ | | | |/ / | | |/| |
| | | * | pending-tx - move incrementing of the retryCount on the txMeta outside pendin...frankiebee2017-09-271-1/+1
| | | * | fix testsfrankiebee2017-09-271-2/+2
| | | * | Merge branch 'transactionControllerRefractorPt3' of https://github.com/MetaMa...frankiebee2017-09-271-14/+153
| | | |\ \
| | | | * | 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: make evnt names pretty and eaiser to readfrankiebee2017-09-271-9/+9
| | | * | | transactions: lint fixes and reveal status-update event for balance controllerfrankiebee2017-09-271-1/+1
| | | * | | Merge branch 'master' into transactionControllerRefractorPt3frankiebee2017-09-275-7/+121
| | | |\ \ \ | | | | |/ / | | | |/| |
| | | * | | add test for pendingTxCountfrankiebee2017-09-141-0/+13
| | | * | | match other controller patternsfrankiebee2017-09-131-1/+1
| | | * | | more tests and craete a getPendingTransactions functionfrankiebee2017-09-092-1/+24
| | | * | | Merge branch 'master' into transactionControllerRefractorPt3frankiebee2017-09-072-32/+201
| | | |\ \ \
| | | * | | | add better commentsfrankiebee2017-09-061-2/+2
| | | * | | | rename tx-utils.js -> tx-gas-utils.jsfrankiebee2017-09-061-1/+1
| | | * | | | remove #buildEthTxFromParamsfrankiebee2017-09-061-1/+3
| | | * | | | fix testsfrankiebee2017-08-221-4/+7
| | | * | | | Merge branch 'master' into transactionControllerRefractorPt3frankiebee2017-08-224-92/+46
| | | |\ \ \ \
| | | * | | | | Create tests for TxStateManagerfrankiebee2017-08-192-196/+253
| * | | | | | | style - small whitespace nitpickkumavis2017-09-281-3/+3
| |/ / / / / /
| * | | | | | Merge branch 'master' into filter-fixes-moarDan Finlay2017-09-284-169/+100
| |\ \ \ \ \ \
| | * \ \ \ \ \ Merge branch 'master' of github.com:MetaMask/metamask-extension into BreakOut...kumavis2017-09-271-13/+7
| | |\ \ \ \ \ \ | | | | |_|_|/ / | | | |/| | | |
| | | * | | | | Merge branch 'AddBalanceController' of github.com:MetaMask/metamask-plugin in...Dan Finlay2017-09-261-4/+1
| | | |\ \ \ \ \
| | | | * \ \ \ \ Merge branch 'master' into AddBalanceControllerDan Finlay2017-09-261-4/+1
| | | | |\ \ \ \ \
| | | * | | | | | | Implemented feedbackDan Finlay2017-09-261-13/+7
| | | |/ / / / / /
| | * | | | | | | Remove keyring controller from projectDan Finlay2017-09-231-164/+0
| | * | | | | | | Merge branch 'AddBalanceController' into BreakOutKeyringControllerDan Finlay2017-09-234-3/+107
| | |\| | | | | | | | | |/ / / / / | | |/| | | | |
| | | * | | | | Fix test referencesDan Finlay2017-09-232-3/+3
| | | * | | | | Fix testDan Finlay2017-09-141-0/+5
| | | * | | | | Some progressDan Finlay2017-09-131-0/+1
| | | * | | | | Merge branch 'i1746-BalanceBasedOnPending' into AddBalanceControllerDan Finlay2017-09-121-0/+98
| | | |\ \ \ \ \ | | | | |_|_|_|/ | | | |/| | | |
| | | | * | | | Improve test nameDan Finlay2017-09-081-1/+1
| | | | * | | | Add test for computing gas priceDan Finlay2017-09-081-0/+16
| | | | * | | | Remove logsDan Finlay2017-09-081-5/+0
| | | | * | | | Fix balance calc testDan Finlay2017-09-081-1/+1
| | | | * | | | Fix valueFor testDan Finlay2017-09-081-4/+5
| | | | * | | | Add basic test for valueForDan Finlay2017-09-081-3/+22
| | | | * | | | test not passingDan Finlay2017-09-081-3/+32
| | | | * | | | Add first passing balance calc testDan Finlay2017-09-071-7/+8
| | | | * | | | Add test templateDan Finlay2017-09-071-0/+37
| | | | | |_|/ | | | | |/| |
| * | | | | | fix testfrankiebee2017-09-271-1/+1
| * | | | | | wrap block tracker in events proxyfrankiebee2017-09-271-0/+1
| | |/ / / / | |/| | | |
* | | | | | Modify tests for new API.Kevin Serrano2017-09-271-10/+10
| |/ / / / |/| | | |
* | | | | Allow custom encryptor to be passed to MetaMaskController and KeyringControll...Dan Finlay2017-09-221-4/+1
|/ / / /
* / / / Add test for trying to reproduce faq#67Dan Finlay2017-08-301-0/+19
|/ / /
* | | Add some tests to tx-state-history-helperDan Finlay2017-08-291-0/+26
* | | Corrected test constraintsDan Finlay2017-08-241-2/+2
* | | Add mysterious failing testDan Finlay2017-08-241-0/+20
* | | Pass nonce testsDan Finlay2017-08-241-4/+4
* | | Fix new test, break an older maybe wrong oneDan Finlay2017-08-241-3/+3
* | | Add failing test for newly identified error stateDan Finlay2017-08-241-0/+17
* | | Merge branch 'master' into useLocalNonceDan Finlay2017-08-242-10/+48
|\ \ \ | | |/ | |/|
| * | Merge pull request #1914 from MetaMask/history-diffDan Finlay2017-08-192-10/+48
| |\ \
| | * | tx controller - test - fix typo from moved testkumavis2017-08-151-3/+3
| | * | tx controller - tx state history various small fixeskumavis2017-08-151-1/+1
| | * | tx controller - test - test tx state history in updateTxkumavis2017-08-151-6/+18
| | * | introduce tx-state-history-helper and diff-based historykumavis2017-08-152-5/+31
| | |/
* | | Refer to pending nonces, not just their countDan Finlay2017-08-221-0/+15
* | | fix testfrankiebee2017-08-221-9/+9
* | | When network nonce is highest, it should be used.Dan Finlay2017-08-221-4/+15
* | | Fix testDan Finlay2017-08-221-5/+5
* | | Add new assertions and de-duplicate nonce tracker generationDan Finlay2017-08-221-29/+73
* | | Add test for no previous txsDan Finlay2017-08-221-4/+25
* | | Confine mock strategy to describe blockDan Finlay2017-08-221-35/+39
* | | Move mock txs to tx mocking classDan Finlay2017-08-221-35/+8
* | | add test for using localNoncefrankiebee2017-08-191-4/+42
|/ /
* / Remove dead testsDan Finlay2017-08-171-86/+1
|/
* Merge branch 'master' into greenkeeper/initialkumavis2017-08-095-121/+319
|\
| * use provider stubfrankiebee2017-08-092-88/+65
| * remove .onlyfrankiebee2017-08-081-1/+1
| * Merge branch 'master' into transactionControllerRefractorfrankiebee2017-08-081-0/+115
| |\
| * | fix testfrankiebee2017-08-081-3/+3
| * | Merge branch 'master' into transactionControllerRefractorfrankiebee2017-08-054-28/+58
| |\ \
| * | | test for pending tx watcherfrankiebee2017-08-054-100/+280
| * | | test for SufficientBalancefrankiebee2017-08-051-0/+41
| * | | rename the test description Transaction Manger -> Message Mangerfrankiebee2017-08-051-1/+1
* | | | Merge branch 'master' of github.com:MetaMask/metamask-extension into greenkee...kumavis2017-08-083-4/+132
|\ \ \ \ | | |_|/ | |/| |
| * | | Merge branch 'master' into NewUIkumavis2017-08-042-4/+17
| |\ \ \ | | | |/ | | |/|
| | * | test - actions - tx - fix async testkumavis2017-08-041-5/+4
| | * | test - actions - remove commented codekumavis2017-08-041-2/+0
| | * | nodeify - test - syntax nitpickkumavis2017-08-041-3/+3
| | * | add test for no callback errorfrankiebee2017-08-041-0/+11
| | * | fix testfrankiebee2017-08-041-2/+7
| * | | Merge branch 'NewUI' of github.com:MetaMask/metamask-plugin into NewUIKevin Serrano2017-08-041-0/+115
| |\ \ \ | | |/ / | |/| |
| | * | Merge branch 'master' into NewUIDan Finlay2017-07-281-6/+6
| | |\ \
| | * \ \ Merge branch 'master' into NewUIDan Finlay2017-07-284-20/+56
| | |\ \ \
| | * | | | Replace ui with responsive-uiDan Finlay2017-07-251-2/+2
| | * | | | Merge branch 'master' into NewUIDan Finlay2017-07-216-44/+198
| | |\ \ \ \
| | * | | | | Move responsive ui into its own folder for easier mergesDan Finlay2017-07-211-3/+3
| | * | | | | Add new tests for dropdown componentsdtsui2017-07-181-22/+86
| | * | | | | Add tests for new dropdown componentsdtsui2017-07-131-0/+51
| * | | | | | Merge pull request #1848 from MetaMask/transactionControllerRefractorkumavis2017-08-031-25/+139
| |\ \ \ \ \ \ | | | |_|_|_|/ | | |/| | | |
| | * | | | | remove unused sinonfrankiebee2017-08-031-1/+0
| | * | | | | fix testfrankiebee2017-08-031-1/+1
| | * | | | | move newUnapprovedTransaction to transactions.jsfrankiebee2017-08-031-3/+66
| | * | | | | Merge branch 'master' into transactionControllerRefractorfrankiebee2017-08-022-3/+29
| | |\ \ \ \ \ | | | | |_|_|/ | | | |/| | |
| | * | | | | add test for addTxDefaultsfrankiebee2017-08-021-5/+30
| | * | | | | make addUnapprovedTransaction async function and use promise based ethQueryfrankiebee2017-08-022-23/+50
| * | | | | | blacklist controller - breakout from metamask and infura controllerskumavis2017-08-032-36/+41
| * | | | | | phishing detection - move phishing detection into contentscript and metamask ...kumavis2017-08-031-1/+1
| * | | | | | blacklist - add tests for metamask subdomainskumavis2017-08-021-0/+12
| * | | | | | blacklist - clearer test formatkumavis2017-08-021-5/+5
| | |/ / / / | |/| | | |
| * | | | | Merge branch 'master' into i1805-LiveBlacklistUpdatingDan Finlay2017-07-271-0/+24
| |\ \ \ \ \ | | | |_|_|/ | | |/| | |
| | * | | | Add test for blacklister.Kevin Serrano2017-07-271-0/+24
| |/ / / /
| * / / / nonce-tracker - fix testkumavis2017-07-271-3/+5
| |/ / /
| * | | tx cont - fix test to use async apikumavis2017-07-261-2/+6
| * | | tx cont - add argument for provider constructorkumavis2017-07-261-15/+21
| | |/ | |/|
* | | test - dont mix callback and promisekumavis2017-08-041-2/+1
* | | Merge branch 'master' of github.com:MetaMask/metamask-extension into greenkee...kumavis2017-08-044-44/+211
|/ /
* | Fix transaction confirmation orderingDan Finlay2017-07-181-0/+17
* | Sinon stub infura network statustmashuang2017-07-151-14/+18
* | Use Let instead of vartmashuang2017-07-151-1/+1
* | Infura Network response teststmashuang2017-07-151-34/+58
* | make publishTransaction and signTransaction async methodsfrankiebee2017-07-141-11/+9
* | Merge branch 'master' into nonce-trackerfrankiebee2017-07-131-33/+33
|\ \
| * | tests - disable infura testkumavis2017-07-121-33/+33
* | | Fix test to match behaviorfrankiebee2017-07-131-1/+1
* | | Merge branch 'master' into nonce-trackerfrankiebee2017-07-121-0/+38
|\| |
| * | Improve insufficient balance checking in retry loopDan Finlay2017-07-121-0/+38
* | | 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
| |/
* | Merge branch 'master' into nonce-trackerfrankiebee2017-06-281-0/+34
|\|
| * remove option fetchfrankiebee2017-06-231-2/+1
| * add `done` and stub fetchfrankiebee2017-06-231-8/+9
| * Add test for infura controller.Kevin Serrano2017-06-231-0/+34
* | Merge branch 'master' into nonce-trackerfrankiebee2017-06-221-9/+0
|\|
| * Remove second linting script for testsThomas Huang2017-06-181-9/+0
| * add a check for weather a tx is included in a block when jumping blocksfrankiebee2017-06-151-0/+1
* | fix nonceTrackerfrankiebee2017-06-221-12/+6
* | add a test for #getNonceLockfrankiebee2017-06-221-0/+46
* | 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-136-27/+22
* Modify tests for new api mock.'Kevin Serrano2017-06-061-2/+2
* Modfiy test to ether standards.Kevin Serrano2017-05-251-4/+4
* Merge branch 'master' into i1412-decimalizethegasKevin Serrano2017-05-253-2/+85
|\
| * clean up testfrankiebee2017-05-241-2/+1
| * stop polling when switching networksfrankiebee2017-05-241-1/+5
| * Fix for testsfrankiebee2017-05-243-2/+82
* | Fix test, create new value for precision/scaleKevin Serrano2017-05-241-2/+3
* | Modify test, replace clone package.Kevin Serrano2017-05-181-2/+2
* | Linted testDan Finlay2017-05-171-6/+4
* | Clean up testDan Finlay2017-05-171-4/+1
* | Simplify test to represent realistic use caseDan Finlay2017-05-171-10/+6
* | Merge branch 'master' into i1412-BrutalTestsDan Finlay2017-05-172-19/+95
|\|
| * Add test around txManager#approveTransactionDan Finlay2017-05-171-3/+64
| * Improve testDan Finlay2017-05-171-1/+5
| * LintedDan Finlay2017-05-171-3/+2
| * Fix quotation markDan Finlay2017-05-171-1/+1
| * Linted and removed unused depsDan Finlay2017-05-171-15/+8
| * Add gas updating test to tx controller testsDan Finlay2017-05-171-1/+21
| * Remove only line from testDan Finlay2017-05-171-1/+1
* | Add test requiring high precisionDan Finlay2017-05-172-1/+60
|/
* Rename tx manager to tx controllerDan Finlay2017-05-171-54/+54
* Merge pull request #1436 from MetaMask/mig13Dan Finlay2017-05-171-0/+6
|\
| * migration 13 - change provider from testnet to ropstenkumavis2017-05-161-0/+6
* | Merge branch 'master' into i1407-FixNonEditingTxFormDan Finlay2017-05-161-0/+41
|\|
| * Create test for Migratorfrankiebee2017-05-121-0/+41
* | Clean up testDan Finlay2017-05-161-14/+2
* | Verify updating gas value updatesDan Finlay2017-05-161-3/+5
* | Got test failing nearly correctlyDan Finlay2017-05-161-14/+15
* | Got a useful error message for next stepDan Finlay2017-05-121-2/+22
* | Fix test up a bitDan Finlay2017-05-121-6/+4
* | Use react test utils to start composing testDan Finlay2017-05-121-6/+19
* | Got test failingDan Finlay2017-05-121-1/+3
* | Fix tests add logsDan Finlay2017-05-121-3/+7
* | Add an attempt at a unit test for reproducing #1407Dan Finlay2017-05-111-0/+61
|/
* Whoops missed some modulesThomas Huang2017-05-054-8/+0
* Remove unused modules and STORAGE_KEYThomas Huang2017-05-055-13/+0
* Lint testsThomas Huang2017-05-0525-453/+412
* Merge branch 'master' of github.com:MetaMask/metamask-plugin into platformkumavis2017-04-013-45/+84
|\
| * Merge pull request #1297 from MetaMask/eip155Dan Finlay2017-04-012-30/+66
| |\
| | * tests - tx-manager - fix assert and clean formattingkumavis2017-03-311-9/+1
| | * tx-manager - add eip155 supportkumavis2017-03-312-31/+75
| * | test - fix notice-controller testkumavis2017-03-311-15/+18
* | | etc - fix notification-manager ref, remove duplicated test filekumavis2017-03-311-77/+0
|/ /
* / tests - add missing donekumavis2017-03-311-1/+1
|/
* tests - tx-utils gasBuffer calc - fix bug and user easier numberskumavis2017-03-301-11/+17
* explorer - fix ropsten explorer link testskumavis2017-03-282-8/+13
* tests - fix ropsten link checkkumavis2017-03-281-2/+2
* correct bug in test.Kevin Serrano2017-03-251-1/+1
* Add tests.Kevin Serrano2017-03-251-0/+11
* Add migration tests to ensure that bodies are erased properly in notices.Kevin Serrano2017-03-231-0/+7
* Remove eth-lightwalletDan Finlay2017-03-173-260/+0
* Add test to account for prevention of identities duplication.Kevin Serrano2017-03-111-1/+22
* Add another test for duplicates.Kevin Serrano2017-03-111-0/+7
* Add basic tests.Kevin Serrano2017-03-112-1/+29
* Merge branch 'master' into kumavis-patch-1Dan Finlay2017-03-093-5/+6
|\
| * Merge branch 'master' into i1144-moarrpcKevin Serrano2017-03-091-0/+26
| |\
| * | Fix tests until new ones to-be-written.Kevin Serrano2017-03-081-17/+0
| * | Merge github.com:MetaMask/metamask-plugin into i1144-moarrpcKevin Serrano2017-03-081-1/+1
| |\ \
| * | | Refactor of code into separate reducers and actions.Kevin Serrano2017-03-081-10/+2
| * | | Merge branch 'master' into i1144-moarrpcKevin Serrano2017-03-082-1/+47
| |\ \ \
| * | | | Modify tests.'Kevin Serrano2017-03-081-15/+19
| * | | | More conflict resolution.Kevin Serrano2017-03-021-1/+1
| |\ \ \ \
| | * | | | Fix test referenceDan Finlay2017-02-281-1/+1
| | * | | | Merge branch 'master' into i1144-moarrpcDan Finlay2017-02-284-284/+93
| | |\ \ \ \
| * | \ \ \ \ Fix merge conflicts.Kevin Serrano2017-03-024-284/+93
| |\ \ \ \ \ \ | | | |/ / / / | | |/| | | |
| * | | | | | Fix spelling error.Kevin Serrano2017-02-251-1/+1
| | |/ / / / | |/| | | |
| * | | | | Tested against code to play nice with unit tests.Kevin Serrano2017-02-241-3/+25
* | | | | | tx-utils - add encoding utilskumavis2017-03-081-8/+14
* | | | | | tx-utils - stricter naming type-based conventionkumavis2017-03-081-14/+14
* | | | | | test - tx-utilskumavis2017-03-081-3/+29
| |_|_|_|/ |/| | | |
* | | | | Merge branch 'master' into i1118-IncreaseGasBufferjaredpereira2017-03-081-1/+1
|\ \ \ \ \ | | |_|_|/ | |/| | |
| * | | | Fixed encodingDan Finlay2017-03-081-1/+1
| * | | | Remove unrelated test fileDan Finlay2017-03-081-38/+0
| * | | | Fix test nameDan Finlay2017-03-071-1/+1
| * | | | Fixed internal encoding test caseDan Finlay2017-03-072-1/+39
| | |_|/ | |/| |
* | | | change BN.mul to BN.mulnJared Pereira2017-03-081-9/+7
* | | | add gas buffer multiply testJared Pereira2017-03-081-16/+6
* | | | Add gas buffer testDan Finlay2017-03-081-0/+38
|/ / /
* | | Fix normalizeMsgData function to always return hex prefixedDan Finlay2017-03-071-2/+2
* | | Fix function namesDan Finlay2017-03-071-6/+6
* | | Render personal_sign messages as utf-8 textDan Finlay2017-03-072-1/+47
| |/ |/|
* | Remove irrelevant testsDan Finlay2017-02-241-8/+4
* | Move sigUtil and keyrings to external modulesDan Finlay2017-02-223-276/+89
|/
* Merge branch 'master' into devDan Finlay2017-02-162-2/+42
|\