فهرست منبع

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', () => {