diff --git a/apigw/.dockerignore b/apigw/.dockerignore index f6c6853d1b3..e2306651d7f 100644 --- a/apigw/.dockerignore +++ b/apigw/.dockerignore @@ -14,3 +14,4 @@ !.yarn/plugins !.yarnrc.yml !tsconfig.json +!tsconfig.test.json diff --git a/apigw/package.json b/apigw/package.json index e91b5d1a474..05d602fc223 100644 --- a/apigw/package.json +++ b/apigw/package.json @@ -103,6 +103,7 @@ "^.+\\.tsx?$": [ "ts-jest", { + "tsconfig": "tsconfig.test.json", "useESM": true, "isolatedModules": true } diff --git a/apigw/tsconfig.test.json b/apigw/tsconfig.test.json new file mode 100644 index 00000000000..c17742ae665 --- /dev/null +++ b/apigw/tsconfig.test.json @@ -0,0 +1,7 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "module": "ESNext", + "moduleResolution": "Node10" + } +}