aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorKevin Serrano <kevin.serrano@consensys.net>2017-05-18 05:18:01 +0800
committerKevin Serrano <kevin.serrano@consensys.net>2017-05-18 05:18:01 +0800
commit717db41d0b7bcd7b6f88a5c460aa4dcbc5828116 (patch)
treef43143b1b6e1e5f37871230cb780477061aa3422 /test
parentc6715dc2dd2cb3c5b8e664a9300b989d4f696c9c (diff)
downloadtangerine-wallet-browser-717db41d0b7bcd7b6f88a5c460aa4dcbc5828116.tar
tangerine-wallet-browser-717db41d0b7bcd7b6f88a5c460aa4dcbc5828116.tar.gz
tangerine-wallet-browser-717db41d0b7bcd7b6f88a5c460aa4dcbc5828116.tar.bz2
tangerine-wallet-browser-717db41d0b7bcd7b6f88a5c460aa4dcbc5828116.tar.lz
tangerine-wallet-browser-717db41d0b7bcd7b6f88a5c460aa4dcbc5828116.tar.xz
tangerine-wallet-browser-717db41d0b7bcd7b6f88a5c460aa4dcbc5828116.tar.zst
tangerine-wallet-browser-717db41d0b7bcd7b6f88a5c460aa4dcbc5828116.zip
Modify test, replace clone package.
Diffstat (limited to 'test')
-rw-r--r--test/unit/components/bn-as-decimal-input-test.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/components/bn-as-decimal-input-test.js b/test/unit/components/bn-as-decimal-input-test.js
index 034bc3e18..f515003bb 100644
--- a/test/unit/components/bn-as-decimal-input-test.js
+++ b/test/unit/components/bn-as-decimal-input-test.js
@@ -14,7 +14,7 @@ describe('BnInput', function () {
const renderer = ReactTestUtils.createRenderer()
let valueStr = '20'
- while (valueStr.length < 20) {
+ while (valueStr.length < 15) {
valueStr += '0'
}
const value = new BN(valueStr, 10)
@@ -22,7 +22,7 @@ describe('BnInput', function () {
let inputStr = '2.3'
let targetStr = '23'
- while (targetStr.length < 19) {
+ while (targetStr.length < 14) {
targetStr += '0'
}
const target = new BN(targetStr, 10)