Skip to content

Commit 43bd76b

Browse files
committed
please
1 parent 801c5aa commit 43bd76b

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

jest.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ module.exports = {
44
testEnvironment: "node",
55
// See https://kulshekhar.github.io/ts-jest/docs/guides/esm-support
66
extensionsToTreatAsEsm: [
7+
".js",
78
".ts",
89
".mts",
910
],
@@ -14,7 +15,7 @@ module.exports = {
1415
"types/.*.types.test..*$",
1516
],
1617
transform: {
17-
"\\.[jt]s?$": [
18+
"\\.[jt]s$": [
1819
"ts-jest",
1920
{
2021
"useESM": true,

packages/sdk/tsconfig.browser.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"moduleResolution": "node",
1212
"skipLibCheck": true,
1313
"types": [],
14+
"allowJs": true,
1415
"paths": {
1516
"*.js": ["*.ts"]
1617
}

packages/sdk/tsconfig.node.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"strict": true,
1111
"esModuleInterop": true,
1212
"forceConsistentCasingInFileNames": true,
13+
"allowJs": true,
1314
"allowSyntheticDefaultImports": true,
1415
"skipLibCheck": true,
1516
"sourceMap": true,

0 commit comments

Comments
 (0)