diff options
author | Thomas Huang <thomas.b.huang@gmail.com> | 2017-05-29 02:18:07 +0800 |
---|---|---|
committer | kumavis <aaron@kumavis.me> | 2017-06-13 02:08:32 +0800 |
commit | 13e667202835b082eb840ec2fb59511d687acdba (patch) | |
tree | d72e25b75b3332f200e1dfa6e76591d202dafeee /test/unit/components/bn-as-decimal-input-test.js | |
parent | 8af41f1b0539e70cf4c6e1f4a9f4b10ad13656fc (diff) | |
download | tangerine-wallet-browser-13e667202835b082eb840ec2fb59511d687acdba.tar.gz tangerine-wallet-browser-13e667202835b082eb840ec2fb59511d687acdba.tar.zst tangerine-wallet-browser-13e667202835b082eb840ec2fb59511d687acdba.zip |
Linting
Diffstat (limited to 'test/unit/components/bn-as-decimal-input-test.js')
-rw-r--r-- | test/unit/components/bn-as-decimal-input-test.js | 6 |
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 } }, }) }) }) |