diff options
author | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2018-10-01 20:50:33 +0800 |
---|---|---|
committer | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2018-10-01 23:23:32 +0800 |
commit | ce2e068b436f5e04c89bbef5c43afb23bd05b919 (patch) | |
tree | 8409374b3b92a1225fcbb7539372da4429ab52f6 /ui/app/components/send/send-content/send-to-row/tests/send-to-row-container.test.js | |
parent | c9f22916dd026445b2eb0ba343b54cc672fdf6f0 (diff) | |
download | tangerine-wallet-browser-ce2e068b436f5e04c89bbef5c43afb23bd05b919.tar.gz tangerine-wallet-browser-ce2e068b436f5e04c89bbef5c43afb23bd05b919.tar.zst tangerine-wallet-browser-ce2e068b436f5e04c89bbef5c43afb23bd05b919.zip |
Recipient not required on send screen when hex data present
Diffstat (limited to 'ui/app/components/send/send-content/send-to-row/tests/send-to-row-container.test.js')
-rw-r--r-- | ui/app/components/send/send-content/send-to-row/tests/send-to-row-container.test.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/app/components/send/send-content/send-to-row/tests/send-to-row-container.test.js b/ui/app/components/send/send-content/send-to-row/tests/send-to-row-container.test.js index 92355c00a..dfce7652f 100644 --- a/ui/app/components/send/send-content/send-to-row/tests/send-to-row-container.test.js +++ b/ui/app/components/send/send-content/send-to-row/tests/send-to-row-container.test.js @@ -24,6 +24,7 @@ proxyquire('../send-to-row.container.js', { }, '../../send.selectors.js': { getCurrentNetwork: (s) => `mockNetwork:${s}`, + getSendHexData: (s) => s, getSendTo: (s) => `mockTo:${s}`, getSendToAccounts: (s) => `mockToAccounts:${s}`, }, @@ -41,6 +42,7 @@ describe('send-to-row container', () => { it('should map the correct properties to props', () => { assert.deepEqual(mapStateToProps('mockState'), { + hasHexData: true, inError: 'mockInError:mockState', network: 'mockNetwork:mockState', to: 'mockTo:mockState', |