|
|
@ -39,6 +39,7 @@ proxyquire('../send.container.js', { |
|
|
|
getSelectedTokenContract: (s) => `mockTokenContract:${s}`, |
|
|
|
getSelectedTokenContract: (s) => `mockTokenContract:${s}`, |
|
|
|
getSelectedTokenToFiatRate: (s) => `mockTokenToFiatRate:${s}`, |
|
|
|
getSelectedTokenToFiatRate: (s) => `mockTokenToFiatRate:${s}`, |
|
|
|
getSendAmount: (s) => `mockAmount:${s}`, |
|
|
|
getSendAmount: (s) => `mockAmount:${s}`, |
|
|
|
|
|
|
|
getSendTo: (s) => `mockTo:${s}`, |
|
|
|
getSendEditingTransactionId: (s) => `mockEditingTransactionId:${s}`, |
|
|
|
getSendEditingTransactionId: (s) => `mockEditingTransactionId:${s}`, |
|
|
|
getSendFromObject: (s) => `mockFrom:${s}`, |
|
|
|
getSendFromObject: (s) => `mockFrom:${s}`, |
|
|
|
getTokenBalance: (s) => `mockTokenBalance:${s}`, |
|
|
|
getTokenBalance: (s) => `mockTokenBalance:${s}`, |
|
|
@ -70,6 +71,7 @@ describe('send container', () => { |
|
|
|
recentBlocks: 'mockRecentBlocks:mockState', |
|
|
|
recentBlocks: 'mockRecentBlocks:mockState', |
|
|
|
selectedAddress: 'mockSelectedAddress:mockState', |
|
|
|
selectedAddress: 'mockSelectedAddress:mockState', |
|
|
|
selectedToken: 'mockSelectedToken:mockState', |
|
|
|
selectedToken: 'mockSelectedToken:mockState', |
|
|
|
|
|
|
|
to: 'mockTo:mockState', |
|
|
|
tokenBalance: 'mockTokenBalance:mockState', |
|
|
|
tokenBalance: 'mockTokenBalance:mockState', |
|
|
|
tokenContract: 'mockTokenContract:mockState', |
|
|
|
tokenContract: 'mockTokenContract:mockState', |
|
|
|
tokenToFiatRate: 'mockTokenToFiatRate:mockState', |
|
|
|
tokenToFiatRate: 'mockTokenToFiatRate:mockState', |
|
|
|