diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2016-07-12 07:01:52 +0800 |
---|---|---|
committer | Kevin Serrano <kevgagser@gmail.com> | 2016-07-12 07:01:52 +0800 |
commit | 37f21cf18f3495b255d25cfe57c2cbf495ba6b69 (patch) | |
tree | 2e9c01134e85f5f04f6242ab8f2b916505dae8a2 /test/unit | |
parent | 31d0d1ec080546b591d0c8ffd85c8bd983791f99 (diff) | |
download | tangerine-wallet-browser-37f21cf18f3495b255d25cfe57c2cbf495ba6b69.tar tangerine-wallet-browser-37f21cf18f3495b255d25cfe57c2cbf495ba6b69.tar.gz tangerine-wallet-browser-37f21cf18f3495b255d25cfe57c2cbf495ba6b69.tar.bz2 tangerine-wallet-browser-37f21cf18f3495b255d25cfe57c2cbf495ba6b69.tar.lz tangerine-wallet-browser-37f21cf18f3495b255d25cfe57c2cbf495ba6b69.tar.xz tangerine-wallet-browser-37f21cf18f3495b255d25cfe57c2cbf495ba6b69.tar.zst tangerine-wallet-browser-37f21cf18f3495b255d25cfe57c2cbf495ba6b69.zip |
Remove unused functions. Readd if necessary.
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/util_test.js | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/test/unit/util_test.js b/test/unit/util_test.js index 91c7c83e9..9a3963ac1 100644 --- a/test/unit/util_test.js +++ b/test/unit/util_test.js @@ -122,25 +122,6 @@ describe('util', function() { }) - describe('#ethToWei', function() { - - it('should take an eth BN, returns wei BN', function() { - var input = new ethUtil.BN(1, 10) - var result = util.ethToWei(input) - assert.equal(result, ethInWei, '18 zeroes') - }) - - }) - - describe('#weiToEth', function() { - - it('should take a wei BN and return an eth BN', function() { - var result = util.weiToEth(new ethUtil.BN(ethInWei)) - assert.equal(result, '1', 'equals 1 eth') - }) - - }) - describe('#formatBalance', function() { it('when given nothing', function() { |