From ccbd24f614102402c87e4c781ffdffd803956778 Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Sun, 26 Jun 2022 19:20:07 -0500 Subject: [PATCH] Fix module name mapper properly this time --- jest.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jest.config.js b/jest.config.js index 100bf54..2e05672 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" } };