import { screen } from '@testing-library/react' ; import { StepFunction } from '../../../lib/step' ; export const CheckContactNumberNotExist = ( { userName } ) => { if ( userName ) { const contactItem = screen . queryByTitle ( userName ) ; expect ( contactItem ) . not . toBeInTheDocument ( ) ; } } ;