From d12a4ac6d1be4ce23446e9458e3b6e3bf2023571 Mon Sep 17 00:00:00 2001 From: Alex Youssefinia Date: Fri, 4 Oct 2024 14:53:30 -0500 Subject: [PATCH] remove accidental pickup from other branch --- services/ui-src/src/setupTests.js | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/services/ui-src/src/setupTests.js b/services/ui-src/src/setupTests.js index 302034f5b..97d6d79fb 100644 --- a/services/ui-src/src/setupTests.js +++ b/services/ui-src/src/setupTests.js @@ -16,18 +16,4 @@ jest.mock("focus-trap", () => { unpause: () => {}, }; return () => trap; -}); - -window.matchMedia = jest.fn((query) => { - return { - matches: query === '(max-width: 600px)', // Adjust this logic based on your needs - media: query, - onchange: null, - addListener: jest.fn(), // Deprecated, but still mock for compatibility - removeListener: jest.fn(), // Deprecated, but still mock for compatibility - addEventListener: jest.fn(), // For modern browsers - removeEventListener: jest.fn(), // For modern browsers - dispatchEvent: jest.fn(), // For modern browsers - }; -}); -console.log("Setup file loaded"); \ No newline at end of file +}); \ No newline at end of file