Fix module name mapper properly this time
This commit is contained in:
parent
ab81a140c9
commit
ccbd24f614
1 changed files with 1 additions and 1 deletions
|
@ -2,6 +2,6 @@ module.exports = {
|
||||||
preset: "vite-jest",
|
preset: "vite-jest",
|
||||||
testEnvironment: "jest-environment-jsdom",
|
testEnvironment: "jest-environment-jsdom",
|
||||||
moduleNameMapper: {
|
moduleNameMapper: {
|
||||||
"^./../[^.](.*)$": "$1"
|
"^./../([^.].*)$": "$1"
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue