Просмотр исходного кода

fix queryByTestId to getByTestId

moekumasaka 1 год назад
Родитель
Сommit
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', () => {