aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/components/bn-as-decimal-input-test.js
diff options
context:
space:
mode:
authorFrankie <frankie.diamond@gmail.com>2017-06-13 06:09:53 +0800
committerGitHub <noreply@github.com>2017-06-13 06:09:53 +0800
commit3da887e56ef6819aa0cb0f9a19c33025d80bca35 (patch)
treecb60e1925a37c2dc4407531f319cdbda4d9ff126 /test/unit/components/bn-as-decimal-input-test.js
parentb712e7ce6498b2d8d26f506f40a1e00ef1b7462c (diff)
parent33a32bb06be408d197d2f7784d9c1a9e04280fda (diff)
downloadtangerine-wallet-browser-3da887e56ef6819aa0cb0f9a19c33025d80bca35.tar
tangerine-wallet-browser-3da887e56ef6819aa0cb0f9a19c33025d80bca35.tar.gz
tangerine-wallet-browser-3da887e56ef6819aa0cb0f9a19c33025d80bca35.tar.bz2
tangerine-wallet-browser-3da887e56ef6819aa0cb0f9a19c33025d80bca35.tar.lz
tangerine-wallet-browser-3da887e56ef6819aa0cb0f9a19c33025d80bca35.tar.xz
tangerine-wallet-browser-3da887e56ef6819aa0cb0f9a19c33025d80bca35.tar.zst
tangerine-wallet-browser-3da887e56ef6819aa0cb0f9a19c33025d80bca35.zip
Merge branch 'master' into qrPrefix
Diffstat (limited to 'test/unit/components/bn-as-decimal-input-test.js')
-rw-r--r--test/unit/components/bn-as-decimal-input-test.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/components/bn-as-decimal-input-test.js b/test/unit/components/bn-as-decimal-input-test.js
index b3365b6f9..106b3a871 100644
--- a/test/unit/components/bn-as-decimal-input-test.js
+++ b/test/unit/components/bn-as-decimal-input-test.js
@@ -18,7 +18,7 @@ describe('BnInput', function () {
}
const value = new BN(valueStr, 10)
- let inputStr = '2.3'
+ const inputStr = '2.3'
let targetStr = '23'
while (targetStr.length < 19) {
@@ -43,9 +43,9 @@ describe('BnInput', function () {
const component = additions.renderIntoDocument(inputComponent)
renderer.render(inputComponent)
const input = additions.find(component, 'input.hex-input')[0]
- ReactTestUtils.Simulate.change(input, { preventDefault() {}, target: {
+ ReactTestUtils.Simulate.change(input, { preventDefault () {}, target: {
value: inputStr,
- checkValidity() { return true } },
+ checkValidity () { return true } },
})
})
})