@ -58,7 +58,7 @@ describe('ConfirmApproveContent Component', () => {
const editButtons = getAllByText ( 'Edit' ) ;
const editButtons = getAllByText ( 'Edit' ) ;
expect ( queryByText ( 'Transaction F ee' ) ) . toBeInTheDocument ( ) ;
expect ( queryByText ( 'Transaction f ee' ) ) . toBeInTheDocument ( ) ;
expect (
expect (
queryByText ( 'A fee is associated with this request.' ) ,
queryByText ( 'A fee is associated with this request.' ) ,
) . toBeInTheDocument ( ) ;
) . toBeInTheDocument ( ) ;
@ -72,13 +72,13 @@ describe('ConfirmApproveContent Component', () => {
expect ( props . showCustomizeNonceModal ) . toHaveBeenCalledTimes ( 1 ) ;
expect ( props . showCustomizeNonceModal ) . toHaveBeenCalledTimes ( 1 ) ;
const showHideTxDetails = getByText ( 'View full transaction details' ) ;
const showHideTxDetails = getByText ( 'View full transaction details' ) ;
expect ( queryByText ( 'Permission R equest' ) ) . not . toBeInTheDocument ( ) ;
expect ( queryByText ( 'Permission r equest' ) ) . not . toBeInTheDocument ( ) ;
expect ( queryByText ( 'Approved A mount:' ) ) . not . toBeInTheDocument ( ) ;
expect ( queryByText ( 'Approved a mount:' ) ) . not . toBeInTheDocument ( ) ;
expect ( queryByText ( 'Granted T o:' ) ) . not . toBeInTheDocument ( ) ;
expect ( queryByText ( 'Granted t o:' ) ) . not . toBeInTheDocument ( ) ;
fireEvent . click ( showHideTxDetails ) ;
fireEvent . click ( showHideTxDetails ) ;
expect ( getByText ( 'Permission R equest' ) ) . toBeInTheDocument ( ) ;
expect ( getByText ( 'Permission r equest' ) ) . toBeInTheDocument ( ) ;
expect ( getByText ( 'Approved A mount:' ) ) . toBeInTheDocument ( ) ;
expect ( getByText ( 'Approved a mount:' ) ) . toBeInTheDocument ( ) ;
expect ( getByText ( 'Granted T o:' ) ) . toBeInTheDocument ( ) ;
expect ( getByText ( 'Granted t o:' ) ) . toBeInTheDocument ( ) ;
expect ( getByText ( '0x9bc5...fef4' ) ) . toBeInTheDocument ( ) ;
expect ( getByText ( '0x9bc5...fef4' ) ) . toBeInTheDocument ( ) ;
} ) ;
} ) ;
} ) ;
} ) ;