Skip to content

Commit 19bf059

Browse files
committed
please
1 parent 43bd76b commit 19bf059

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/sdk/jest.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,13 @@ module.exports = {
1515
"ts",
1616
"js",
1717
],
18+
moduleNameMapper: {
19+
"^(.+)\\.js$": "$1",
20+
},
1821
transform: {
1922
// '^.+\\.[tj]sx?$' to process ts,js,tsx,jsx with `ts-jest`
2023
// '^.+\\.m?[tj]sx?$' to process ts,js,tsx,jsx,mts,mjs,mtsx,mjsx with `ts-jest`
21-
"^.+\\.tsx?$": [
24+
"^.+\\.[jt]sx?$": [
2225
"ts-jest",
2326
{
2427
tsconfig: "tsconfig.node.json",

0 commit comments

Comments
 (0)