1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Add required props for TransactionListItemDetails tests (#7834)

This commit is contained in:
Whymarrh Whitby 2020-01-16 00:04:32 -03:30 committed by GitHub
parent dcf8eb2187
commit 48c9b0174f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,6 +31,9 @@ describe('TransactionListItemDetails Component', () => {
const wrapper = shallow(
<TransactionListItemDetails
recipientAddress="0x1"
senderAddress="0x2"
tryReverseResolveAddress={() => {}}
transactionGroup={transactionGroup}
/>,
{ context: { t: (str1, str2) => (str2 ? str1 + str2 : str1) } }
@ -69,6 +72,9 @@ describe('TransactionListItemDetails Component', () => {
const wrapper = shallow(
<TransactionListItemDetails
recipientAddress="0x1"
senderAddress="0x2"
tryReverseResolveAddress={() => {}}
transactionGroup={transactionGroup}
showSpeedUp
/>,
@ -102,6 +108,9 @@ describe('TransactionListItemDetails Component', () => {
const wrapper = shallow(
<TransactionListItemDetails
recipientAddress="0x1"
senderAddress="0x2"
tryReverseResolveAddress={() => {}}
transactionGroup={transactionGroup}
/>,
{ context: { t: (str1, str2) => (str2 ? str1 + str2 : str1) } }
@ -137,6 +146,9 @@ describe('TransactionListItemDetails Component', () => {
const wrapper = shallow(
<TransactionListItemDetails
recipientAddress="0x1"
senderAddress="0x2"
tryReverseResolveAddress={() => {}}
transactionGroup={transactionGroup}
/>,
{ context: { t: (str1, str2) => (str2 ? str1 + str2 : str1) } }