diff options
author | Dan Miller <danjm.com@gmail.com> | 2018-08-16 15:43:13 +0800 |
---|---|---|
committer | Dan Miller <danjm.com@gmail.com> | 2018-08-27 22:14:16 +0800 |
commit | 65873e33e407b5af2c4134ddcbc48f4e81bdfa4f (patch) | |
tree | d6d1a09cb548baa35d65535a5d083510ed664003 /ui/app/components/send/tests/send-component.test.js | |
parent | 30e49b8545a33faf2f1d1451c9135c996a6816b0 (diff) | |
download | dexon-wallet-65873e33e407b5af2c4134ddcbc48f4e81bdfa4f.tar.gz dexon-wallet-65873e33e407b5af2c4134ddcbc48f4e81bdfa4f.tar.zst dexon-wallet-65873e33e407b5af2c4134ddcbc48f4e81bdfa4f.zip |
Adds feature flag toggle for the hex data row on the send screen.
Diffstat (limited to 'ui/app/components/send/tests/send-component.test.js')
-rw-r--r-- | ui/app/components/send/tests/send-component.test.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/app/components/send/tests/send-component.test.js b/ui/app/components/send/tests/send-component.test.js index 6194ec50..d2c2ee92 100644 --- a/ui/app/components/send/tests/send-component.test.js +++ b/ui/app/components/send/tests/send-component.test.js @@ -47,6 +47,7 @@ describe('Send Component', function () { recentBlocks={['mockBlock']} selectedAddress={'mockSelectedAddress'} selectedToken={'mockSelectedToken'} + showHexData={true} tokenBalance={'mockTokenBalance'} tokenContract={'mockTokenContract'} updateAndSetGasTotal={propsMethodSpies.updateAndSetGasTotal} @@ -328,5 +329,9 @@ describe('Send Component', function () { } ) }) + + it('should pass showHexData to SendContent', () => { + assert.equal(wrapper.find(SendContent).props().showHexData, true) + }) }) }) |