1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 10:30:04 +01:00
Commit Graph

21 Commits

Author SHA1 Message Date
Frankie
d4c0a4949b Clean up tests 2016-10-20 12:26:35 -07:00
Frankie
aa4746f4c7 Add test and ability for isHex to handle hex strings with hex-prefix 2016-10-19 19:35:44 -07:00
Frankie
4366f72fe1 Add unit test for isHex and add to CHANGELOG.md 2016-10-19 15:22:56 -07:00
Frankie
7e3b0aca62 Add test 2016-08-19 17:30:19 -07:00
Kevin Serrano
37f21cf18f Remove unused functions. Readd if necessary. 2016-07-11 16:01:52 -07:00
Kevin Serrano
31d0d1ec08 Refactor util tests. 2016-07-11 13:57:47 -07:00
Dan Finlay
a02f43fb7f Merge branch 'master' into ConfirmationStyle 2016-07-07 11:38:11 -07:00
Frankie
2cc44df584 Revert back to original formatBalance 2016-07-07 11:20:02 -07:00
Dan Finlay
689bd58d81 Merged latest balance formatting code 2016-07-06 18:06:28 -07:00
Dan Finlay
7058dc4ee3 Began reworking tx conf view 2016-07-06 17:58:46 -07:00
Frankie
9d577ea023 Add decimal hendeling to ETH balance 2016-07-06 17:04:09 -07:00
Dan Finlay
2c89cd722e Simplify empty account balance rendering 2016-07-05 15:16:40 -07:00
Zac Mitton
9132f08507 added a failing case and fixed it by refactoring everything to strings 2016-06-20 18:46:29 -04:00
Dan Finlay
272bea31b5 Fix hashed address validation 2016-06-02 18:42:09 -07:00
Dan Finlay
d0f8a14ace Add test case for sample hashed address 2016-06-01 16:14:49 -07:00
Zac Mitton
2ce9f1a776 correctly displaying small balances with tests 2016-05-25 18:29:03 -07:00
Dan Finlay
60270de53d Add full precision to send tx value field. 2016-05-19 14:46:50 -07:00
Dan Finlay
22a77b8041 Increase send value precision 2016-05-19 14:21:35 -07:00
Dan Finlay
c8deb355f7 Add address capitalization checksumming 2016-05-19 12:06:45 -07:00
Dan Finlay
d6ab6bb4fa Fix floating point input bug
When sending a transaction, we were converting to BN before handling decimals, which meant we were losing any precision past a decimal point, since BN does not handle decimals!

Put this numeric normalization into a utility function with a test around it and got it working.
2016-04-19 18:56:22 -07:00
Dan Finlay
65d73d7bb4 Unify test suites 2016-04-18 11:41:29 -07:00