From 791659dc109158e4a7dada6af72107c5a2c081ea Mon Sep 17 00:00:00 2001 From: Whymarrh Whitby Date: Thu, 16 Jan 2020 00:04:32 -0330 Subject: [PATCH] Add required props for TransactionListItemDetails tests (#7834) --- ...action-list-item-details.component.test.js | 24 ++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/ui/app/components/app/transaction-list-item-details/tests/transaction-list-item-details.component.test.js b/ui/app/components/app/transaction-list-item-details/tests/transaction-list-item-details.component.test.js index 754dddeaca2c..2111c890d07c 100644 --- a/ui/app/components/app/transaction-list-item-details/tests/transaction-list-item-details.component.test.js +++ b/ui/app/components/app/transaction-list-item-details/tests/transaction-list-item-details.component.test.js @@ -30,7 +30,12 @@ describe('TransactionListItemDetails Component', () => { } const wrapper = shallow( - , + {}} + transactionGroup={transactionGroup} + />, { context: { t: (str1, str2) => (str2 ? str1 + str2 : str1) } } ) @@ -67,6 +72,9 @@ describe('TransactionListItemDetails Component', () => { const wrapper = shallow( {}} transactionGroup={transactionGroup} showSpeedUp />, @@ -99,7 +107,12 @@ describe('TransactionListItemDetails Component', () => { } const wrapper = shallow( - , + {}} + transactionGroup={transactionGroup} + />, { context: { t: (str1, str2) => (str2 ? str1 + str2 : str1) } } ) @@ -132,7 +145,12 @@ describe('TransactionListItemDetails Component', () => { } const wrapper = shallow( - , + {}} + transactionGroup={transactionGroup} + />, { context: { t: (str1, str2) => (str2 ? str1 + str2 : str1) } } )