aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
Commit message (Expand)AuthorAgeFilesLines
* 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 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
* 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
|\
| * Verify messages in a loopDan Finlay2017-02-141-27/+25
| * got hash test passingDan Finlay2017-02-141-14/+23
| * Add failing test for signature recoveryDan Finlay2017-02-141-0/+33
| * Revert old style message sighingFrankie2017-02-102-2/+2
* | Complete migration tests.Kevin Serrano2017-02-161-15/+74
* | Add migrations for removing terms of use data.Kevin Serrano2017-02-151-2/+6
* | Delete all code related to disclaimers.Kevin Serrano2017-02-101-34/+0
|/
* test - skip eth_sign tests until we have test datakumavis2017-02-042-2/+2
* migration #9 - break out CurrencyController substatekumavis2017-02-032-75/+87
* txManager - depend on preferencesStorekumavis2017-02-031-1/+0
* metamask - introduce networkStorekumavis2017-02-031-12/+3
* migration 7 - break off TransactionManager substatekumavis2017-02-031-53/+59
* messageManager - move view state to obs-storekumavis2017-02-031-13/+4
* Merge branch 'dev' into messageManagerCleanUpFrankie2017-02-022-16/+4
|\
| * metamask - adopt isInitialized from keyring controllerkumavis2017-02-011-9/+0
| * keyring - move identities into memStorekumavis2017-02-011-2/+4
| * keyring - synchronous getStatekumavis2017-02-011-9/+4
* | Merge branch 'dev' into messageManagerCleanUpFrankie2017-02-021-2/+2
|\|
| * continue rename selectedAccount to selectedAddresskumavis2017-01-311-2/+2
* | code clan up and testsFrankie2017-02-021-0/+98
* | Merge branch 'dev' into messageManagerCleanUpFrankie2017-01-293-154/+31
|\|
| * migration 5 - move keyring controller state to substatekumavis2017-01-292-39/+20
| * tests - remove persistence and start with initial statekumavis2017-01-282-115/+11
* | Clean up message manger includes:Frankie2017-01-291-3/+3
|/
* config-manager - default to USD for currentFiatkumavis2017-01-271-14/+4
* obs-store - use published modulekumavis2017-01-252-20/+12
* Merge branch 'dev' of github.com:MetaMask/metamask-plugin into obs-store2kumavis2017-01-251-0/+3
|\
| * background controller - extract KeyringC.placeSeedWords to MetamaskCkumavis2017-01-251-0/+3
* | Merge branch 'dev' into obs-store2kumavis2017-01-225-49/+72
|\|
| * Wrote failing test for eth.signDan Finlay2017-01-171-0/+18
| * Merge branch 'dev' into simple-keystore-fixkumavis2017-01-171-1/+1
| |\
| | * Merge branch 'master' into devDan Finlay2017-01-171-1/+1
| | |\
| | | * remove network Id 2 from explorer link and Add network Id 3Frances Pangilinan2016-12-211-1/+1
| * | | test - keyring - simple - fix fixture datakumavis2017-01-171-6/+3
| |/ /
| * | test - clear localStorage on test startkumavis2017-01-151-3/+3
| * | test - clear localStorage in case CI caches it (?)kumavis2017-01-151-0/+1
| * | test - txManager - add network to all txskumavis2017-01-151-18/+19
| * | tests - txManager - add getNetwork fn to fixture txManagerkumavis2017-01-151-0/+1
| * | fix for lintingFrankie2017-01-141-2/+2
| * | background - handle tx finalization in controllers instead of provider-enginekumavis2017-01-132-22/+27
* | | migrations - introduce promise-based migratorkumavis2017-01-121-24/+24
* | | background - move pojo migrator to outside of metamask controllerkumavis2017-01-121-2/+8
* | | test - fix tests from obs-storekumavis2017-01-122-6/+8
|/ /
* | tests - add fetch polyfillkumavis2017-01-111-1/+3
* | Merge remote-tracking branch 'origin/kumavis-readme-gource' into RevertTxManagerDan Finlay2017-01-036-131/+202
|\ \
| * \ Merge branch 'dev' into TxManagerFrankie2016-12-241-1/+1
| |\ \
| * | | fix some minor spelling mistakes and clean up codeFrankie2016-12-241-6/+6
| * | | Merge branch 'dev' into TxManagerFrankie2016-12-224-44/+123
| |\ \ \
| * | | | First pass at revision requestsFrances Pangilinan2016-12-223-77/+48
| * | | | add Test for txManager. As well as fix tests to account for txManager.Frances Pangilinan2016-12-154-80/+180
* | | | | Correct getState test to be asyncDan Finlay2016-12-241-4/+7
| |_|/ / |/| | |
* | | | Refine a lostAccount testDan Finlay2016-12-211-1/+1
| |/ / |/| |
* | | Merge pull request #916 from MetaMask/i894-DetectBadAccountsDan Finlay2016-12-212-41/+5
|\ \ \
| * | | Made changes according to feedback.Dan Finlay2016-12-201-1/+0
| * | | Mostly added bad account detectionDan Finlay2016-12-092-41/+6
| |/ /
* | | Merged master into devDan Finlay2016-12-202-3/+118
|\ \ \ | |/ / |/| / | |/
| * move notice code from metamask-controller + config-manager, in to notice-cont...kumavis2016-12-172-94/+115
| * clean - code stylekumavis2016-12-171-4/+3
| * Add ability to show notices to user & get confirmation.Kevin Serrano2016-12-171-0/+95
* | Remove .only from unit test suiteDan Finlay2016-12-081-1/+1
* | Fix nodeifyDan Finlay2016-11-291-0/+22
* | Denodeify most of KeyringControllerDan Finlay2016-11-292-10/+20
* | Merge branch 'master' into devDan Finlay2016-11-241-7/+2
|\|
| * Merge branch 'master' into i868-estimateGasTooHighkumavis2016-11-231-2/+8
| |\
| | * Unify test wordingDan Finlay2016-11-221-2/+2
| | * Add temporary morden explorer link supportDan Finlay2016-11-221-0/+6
| | * Fix ropsten link testDan Finlay2016-11-221-2/+2
| * | idStore - fix estimateGas calculationkumavis2016-11-231-7/+2
| |/
* | Fix last async keyring testDan Finlay2016-11-241-8/+10
* | Fix more keyring asyncifying testsDan Finlay2016-11-241-1/+8
* | Mostly got async keyringController tests passingDan Finlay2016-11-233-55/+91
* | Fix password referenceDan Finlay2016-11-231-0/+1
* | Fix vault migration unit testDan Finlay2016-11-231-1/+1
* | Improve vault migration unit testDan Finlay2016-11-231-1/+2
* | Simplify Encryptor API SurfaceDan Finlay2016-11-231-4/+6
* | Merge pull request #858 from MetaMask/i842-WaitForSeedWordkumavis2016-11-231-2/+8
|\ \
| * | Fix etherscan link generation testDan Finlay2016-11-231-2/+8
* | | Merge branch 'dev' into dev-cleanupKevin Serrano2016-11-232-7/+7
|\| |
| * | Fix keyring testDan Finlay2016-11-221-1/+1
| * | Improve Keyring organizationDan Finlay2016-11-222-6/+6
| * | Revert premature link test fixDan Finlay2016-11-221-2/+2
| * | Fixed account link test for ropsten networkDan Finlay2016-11-221-2/+2
* | | change all instances of selectedAddress to selectedAccount.Kevin Serrano2016-11-221-1/+0
* | | Remove entropy from encryption and project.Kevin Serrano2016-11-223-6/+4
|/ /
* | Minimize repeated code.Kevin Serrano2016-11-161-1/+1
* | Re-enable disclaimer screen. Rename variables to reflect role more clearly.Kevin Serrano2016-11-151-14/+14
* | Add idStore tests again.Kevin Serrano2016-11-151-0/+198
* | Rename n variables to numberOfAccounts inside of test suite. Remove idStore t...Kevin Serrano2016-11-123-203/+4
* | Merge branch 'master' into i328-MultiVaultFrankie2016-11-111-6/+4
|\|
| * Adjust gas buffer to be 20% over estimateDan Finlay2016-11-091-5/+4
| * Increase gas bufferDan Finlay2016-11-091-2/+1
* | Merge branch 'master' into i328-MultiVaultDan Finlay2016-11-081-11/+39
|\|
| * Fix gas price bufferingDan Finlay2016-11-081-8/+6
| * Added failing test for #787Dan Finlay2016-11-081-11/+41
* | Fix nickname testDan Finlay2016-11-081-0/+1
* | Fix BN referenceDan Finlay2016-11-081-0/+1
* | Fix 787 gas buffer bugDan Finlay2016-11-081-4/+20
* | Finish fixing nicknaming bugDan Finlay2016-11-041-0/+31
* | Fix account nicknaming bugDan Finlay2016-11-041-0/+11
* | Fix vault creation bugDan Finlay2016-11-041-8/+28
* | Fix dual vault creation bugDan Finlay2016-11-031-1/+12
* | Fix handling of migrating old vault styleDan Finlay2016-11-032-10/+36
* | Now migrating old vaults to new DEN formatDan Finlay2016-10-291-9/+62
* | Add vault migration testDan Finlay2016-10-291-0/+91
* | Added hd wallet testsDan Finlay2016-10-281-0/+97
* | Merge branch 'master' into i328-MultiVaultDan Finlay2016-10-261-4/+17
|\|
| * test - fix delegate-call testkumavis2016-10-251-10/+6
| * Merge branch 'master' into i743-FixDelegateCallFlagkumavis2016-10-251-0/+22
| |\
| * | Reproduced issue 743 in test caseDan Finlay2016-10-181-3/+20
* | | Merge branch 'master' into i328-MultiVaultDan Finlay2016-10-221-0/+22
|\ \ \ | | |/ | |/|
| * | Clean up testsFrankie2016-10-211-4/+4
| * | Add test and ability for isHex to handle hex strings with hex-prefixFrankie2016-10-201-0/+5
| * | Add unit test for isHex and add to CHANGELOG.mdFrankie2016-10-201-0/+17
| |/