@@ -5,7 +5,7 @@ import { TransactionType } from '@metamask/transaction-controller';
55import renderWithProvider from '../../../../../../../util/test/renderWithProvider' ;
66import { transferConfirmationState } from '../../../../../../../util/test/confirm-data-helpers' ;
77import { useConfirmationMetricEvents } from '../../../../hooks/metrics/useConfirmationMetricEvents' ;
8- import FromTo from './from-to' ;
8+ import FromToRow from './from-to-row ' ;
99
1010jest . mock ( '../../../../hooks/metrics/useConfirmationMetricEvents' ) ;
1111jest . mock ( '../../../../../../../core/Engine' , ( ) => ( {
@@ -56,7 +56,7 @@ const erc20TransferState = merge({}, transferConfirmationState, {
5656 } ,
5757} ) ;
5858
59- describe ( 'FromTo ' , ( ) => {
59+ describe ( 'FromToRow ' , ( ) => {
6060 const useConfirmationMetricEventsMock = jest . mocked (
6161 useConfirmationMetricEvents ,
6262 ) ;
@@ -69,7 +69,7 @@ describe('FromTo', () => {
6969 } ) ;
7070
7171 it ( 'displays the correct addresses for native transfer' , async ( ) => {
72- const { getByText } = renderWithProvider ( < FromTo /> , {
72+ const { getByText } = renderWithProvider ( < FromToRow /> , {
7373 state : nativeTransferState ,
7474 } ) ;
7575
@@ -78,7 +78,7 @@ describe('FromTo', () => {
7878 } ) ;
7979
8080 it ( 'displays the correct addresses for erc20 transfer' , async ( ) => {
81- const { getByText } = renderWithProvider ( < FromTo /> , {
81+ const { getByText } = renderWithProvider ( < FromToRow /> , {
8282 state : erc20TransferState ,
8383 } ) ;
8484
0 commit comments