From fbb233032a65ca40d38fd254deeb32bb0e052d39 Mon Sep 17 00:00:00 2001 From: Sinan Bolel <1915925+sbolel@users.noreply.github.com> Date: Thu, 17 Aug 2023 15:58:59 -0400 Subject: [PATCH] fix: resolve upgraded dependency incompatibility --- config/jest/setupTests.ts | 1 - src/components/mui/Avatar.test.tsx | 1 - 2 files changed, 2 deletions(-) diff --git a/config/jest/setupTests.ts b/config/jest/setupTests.ts index 16df7d7..8e2453b 100644 --- a/config/jest/setupTests.ts +++ b/config/jest/setupTests.ts @@ -10,7 +10,6 @@ import { enableFetchMocks } from 'jest-fetch-mock' enableFetchMocks() import '@testing-library/jest-dom' -import '@testing-library/jest-dom/extend-expect' // mock environment variables for the global app config during tests if (process.env.NODE_ENV === 'test') { diff --git a/src/components/mui/Avatar.test.tsx b/src/components/mui/Avatar.test.tsx index e856b71..5082633 100644 --- a/src/components/mui/Avatar.test.tsx +++ b/src/components/mui/Avatar.test.tsx @@ -1,5 +1,4 @@ import { render, cleanup } from '@testing-library/react' -import '@testing-library/jest-dom/extend-expect' import { ThemeProvider, lighten } from '@mui/material/styles' import { createTheme } from '@mui/material' import Avatar from '@/components/mui/Avatar'