mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
fix unit tests
This commit is contained in:
parent
4de8f5b0d4
commit
acfcdf52b4
@ -44,6 +44,7 @@ proxyquire('../send.container.js', {
|
|||||||
getSendEditingTransactionId: (s) => `mockEditingTransactionId:${s}`,
|
getSendEditingTransactionId: (s) => `mockEditingTransactionId:${s}`,
|
||||||
getSendFromObject: (s) => `mockFrom:${s}`,
|
getSendFromObject: (s) => `mockFrom:${s}`,
|
||||||
getTokenBalance: (s) => `mockTokenBalance:${s}`,
|
getTokenBalance: (s) => `mockTokenBalance:${s}`,
|
||||||
|
getQrCodeData: (s) => `mockQrCodeData:${s}`,
|
||||||
},
|
},
|
||||||
'../../actions': actionSpies,
|
'../../actions': actionSpies,
|
||||||
'../../ducks/send.duck': duckActionSpies,
|
'../../ducks/send.duck': duckActionSpies,
|
||||||
@ -76,6 +77,7 @@ describe('send container', () => {
|
|||||||
tokenBalance: 'mockTokenBalance:mockState',
|
tokenBalance: 'mockTokenBalance:mockState',
|
||||||
tokenContract: 'mockTokenContract:mockState',
|
tokenContract: 'mockTokenContract:mockState',
|
||||||
tokenToFiatRate: 'mockTokenToFiatRate:mockState',
|
tokenToFiatRate: 'mockTokenToFiatRate:mockState',
|
||||||
|
qrCodeData: 'mockQrCodeData:mockState',
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user