diff --git a/CHANGELOG.md b/CHANGELOG.md index 517743724d..196eef5efa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## Unreleased + +- Fixes a TS compilation error due to a broken entry point path. + ## 11.9.0 (2023-02-20) - Bumps Instabug Android SDK to v11.9.0. diff --git a/jest.config.js b/jest.config.js index 3624d53958..111db95622 100644 --- a/jest.config.js +++ b/jest.config.js @@ -12,11 +12,11 @@ module.exports = { modulePathIgnorePatterns: ['example'], transform: { '^.+\\.jsx$': 'babel-jest', - '^.+\\.tsx?$': [ - 'ts-jest', - { - tsconfig: 'tsconfig.json', - }, - ], + '^.+\\.tsx?$': 'ts-jest', + }, + globals: { + 'ts-jest': { + tsConfig: 'tsconfig.test.json', + }, }, }; diff --git a/tsconfig.json b/tsconfig.json index f82fe39c25..e5cb5d59f7 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,5 +1,5 @@ { - "include": ["src/**/*", "test/**/*"], + "include": ["src/**/*"], "compilerOptions": { "module": "esnext", "target": "esnext", diff --git a/tsconfig.test.json b/tsconfig.test.json new file mode 100644 index 0000000000..63fd9d48de --- /dev/null +++ b/tsconfig.test.json @@ -0,0 +1,4 @@ +{ + "extends": "./tsconfig.json", + "include": ["test/**/*"] +}