Fix module name mapper properly this time

This commit is contained in:
thepaperpilot 2022-06-26 19:20:07 -05:00
parent ab81a140c9
commit ccbd24f614

View file

@ -2,6 +2,6 @@ module.exports = {
preset: "vite-jest", preset: "vite-jest",
testEnvironment: "jest-environment-jsdom", testEnvironment: "jest-environment-jsdom",
moduleNameMapper: { moduleNameMapper: {
"^./../[^.](.*)$": "$1" "^./../([^.].*)$": "$1"
} }
}; };