From 186cacee4744b0b89842f0498bd4d4389661c54e Mon Sep 17 00:00:00 2001 From: David Laganiere <40720561+davidlag0@users.noreply.github.com> Date: Sun, 15 Jan 2023 10:33:00 -0500 Subject: [PATCH] test: ignore css imports with jest --- frontend/jest.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/jest.config.js b/frontend/jest.config.js index c213407..73948c2 100644 --- a/frontend/jest.config.js +++ b/frontend/jest.config.js @@ -24,7 +24,7 @@ const customJestConfig = { moduleNameMapper: { "^uuid$": require.resolve("uuid"), "^@fontsource/roboto$": "identity-obj-proxy", - "\\.(png)$": "identity-obj-proxy", + "\\.(png|css)$": "identity-obj-proxy", }, testPathIgnorePatterns: ["/cypress/"], };