Skip to content

Commit 2e2ca49

Browse files
committed
Update Jest module mapper
1 parent 0561eef commit 2e2ca49

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,5 +97,12 @@
9797
},
9898
"engines": {
9999
"node": ">=20"
100+
},
101+
"jest": {
102+
"preset": "ts-jest",
103+
"testEnvironment": "jsdom",
104+
"moduleNameMapper": {
105+
"^(\\.{1,2}/.*)\\.js$": "$1"
106+
}
100107
}
101108
}

0 commit comments

Comments
 (0)