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:
parent
dcf8eb2187
commit
48c9b0174f
@ -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) } }
|
||||
|
Loading…
Reference in New Issue
Block a user