From 4be0c1c0eb0e8de2a53f290a58b30a1d4a48f04c Mon Sep 17 00:00:00 2001 From: jerempy <95110820+jerempy@users.noreply.github.com> Date: Wed, 4 Oct 2023 13:41:43 -0400 Subject: [PATCH] delete unused test --- frontend/src/hooks/index.test.ts | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 frontend/src/hooks/index.test.ts diff --git a/frontend/src/hooks/index.test.ts b/frontend/src/hooks/index.test.ts deleted file mode 100644 index 66965c32..00000000 --- a/frontend/src/hooks/index.test.ts +++ /dev/null @@ -1,20 +0,0 @@ -// When testing library added this is unit test for the useMediaQuery - -// import { renderHook } from '@testing-library/react-hooks'; -// import { useMediaQuery } from '.'; - -// describe('useMediaQuery', () => { -// it('should update isMobile and isDesktop when window is resized', () => { -// const { result } = renderHook(() => useMediaQuery()); - -// global.innerWidth = 800; -// global.dispatchEvent(new Event('resize')); -// expect(result.current.isMobile).toBe(true); -// expect(result.current.isDesktop).toBe(false); - -// global.innerWidth = 1200; -// global.dispatchEvent(new Event('resize')); -// expect(result.current.isMobile).toBe(false); -// expect(result.current.isDesktop).toBe(true); -// }); -// });