From c9292d1d68313817151ff47dd8a463a65995e637 Mon Sep 17 00:00:00 2001 From: Suyash Mishra Date: Sat, 28 Dec 2024 21:54:58 +0530 Subject: [PATCH] Fixing the failure of husky pre-commit script. (#2999) * test commit * test commit * Changing the import for waitFor and screen from @testing-library/react to @testing-library/dom * removing test-commit * resolving conflicts * fixing the package.json conflict * excluding unecessary changes in the package-lock.json --- src/screens/UserPortal/Volunteer/VolunteerManagement.test.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/screens/UserPortal/Volunteer/VolunteerManagement.test.tsx b/src/screens/UserPortal/Volunteer/VolunteerManagement.test.tsx index 65d2d082a7..80ac0df833 100644 --- a/src/screens/UserPortal/Volunteer/VolunteerManagement.test.tsx +++ b/src/screens/UserPortal/Volunteer/VolunteerManagement.test.tsx @@ -1,6 +1,7 @@ import React from 'react'; import type { RenderResult } from '@testing-library/react'; -import { render, screen, waitFor } from '@testing-library/react'; +import { screen, waitFor } from '@testing-library/dom'; +import { render } from '@testing-library/react'; import { MockedProvider } from '@apollo/react-testing'; import { I18nextProvider } from 'react-i18next'; import i18n from 'utils/i18nForTest';