aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
Commit message (Expand)AuthorAgeFilesLines
* 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
* | 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
|\
| * 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