From 2fcbf5422c7cbe7ab378b32f2ea470a844b0c141 Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Sun, 26 Jun 2022 15:46:10 -0500 Subject: [PATCH] Fix jest module name mapper --- jest.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jest.config.js b/jest.config.js index 6725927..100bf54 100644 --- a/jest.config.js +++ b/jest.config.js @@ -2,6 +2,6 @@ module.exports = { preset: "vite-jest", testEnvironment: "jest-environment-jsdom", moduleNameMapper: { - "^./../(.*)$": "$1" + "^./../[^.](.*)$": "$1" } };