Fix jest module name mapper

This commit is contained in:
thepaperpilot 2022-06-26 15:46:10 -05:00
parent 4d53a7980b
commit 2fcbf5422c

View file

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