import { screen } from '@testing-library/react' ; import { StepFunction } from '../../../lib/step' ; export const CheckDialerShowSpinner = ( ) => { expect ( screen . getByTestId ( 'spinnerOverlay' ) ) . not . toBeNull ( ) ; } ; export const CheckDialerNotShowSpinner = ( ) => { expect ( screen . queryByTestId ( 'spinnerOverlay' ) ) . toBeNull ( ) ; } ;