소스 검색

fix queryByTestId to getByTestId

moekumasaka 1 년 전
부모
커밋
461ca6a542
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      apps/app/src/client/components/DescendantsPageListModal.spec.tsx

+ 1 - 1
apps/app/src/client/components/DescendantsPageListModal.spec.tsx

@@ -59,7 +59,7 @@ describe('DescendantsPageListModal.tsx', () => {
 
     it('should render CustomNavDropdown on devices smaller than lg', () => {
       render(<DescendantsPageListModal />);
-      expect(screen.queryByTestId('custom-nav-dropdown')).not.toBeNull();
+      expect(screen.getByTestId('custom-nav-dropdown')).not.toBeNull();
     });
 
     it('should not render CustomNavTab', () => {