Fix jest module name mapper
This commit is contained in:
parent
4d53a7980b
commit
2fcbf5422c
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