diff --git a/jest.config.js b/jest.config.js index 79b69a153..f464ae96e 100644 --- a/jest.config.js +++ b/jest.config.js @@ -16,7 +16,7 @@ module.exports = { moduleNameMapper: pathsToModuleNameMapper(compilerOptions.paths, { prefix: '/src/' }), globals: { 'ts-jest': { - tsconfig: './tsconfig.test.json', + tsConfig: './tsconfig.test.json', }, }, }; diff --git a/package-lock.json b/package-lock.json index 90bb4c731..d7ac26002 100644 --- a/package-lock.json +++ b/package-lock.json @@ -113,7 +113,6 @@ "@ionic/angular-toolkit": "^4.0.0", "@ionic/cli": "^6.14.1", "@types/faker": "^5.1.3", - "@types/jest": "^26.0.24", "@types/node": "^12.12.64", "@types/resize-observer-browser": "^0.1.5", "@types/webpack-env": "^1.16.0", @@ -5248,16 +5247,6 @@ "@types/istanbul-lib-report": "*" } }, - "node_modules/@types/jest": { - "version": "26.0.24", - "resolved": "https://registry.npmjs.org/@types/jest/-/jest-26.0.24.tgz", - "integrity": "sha512-E/X5Vib8BWqZNRlDxj9vYXhsDwPYbPINqKF9BsnSoon4RQ0D9moEuLD8txgyypFLH7J4+Lho9Nr/c8H0Fi+17w==", - "dev": true, - "dependencies": { - "jest-diff": "^26.0.0", - "pretty-format": "^26.0.0" - } - }, "node_modules/@types/json-schema": { "version": "7.0.8", "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.8.tgz", @@ -35075,16 +35064,6 @@ "@types/istanbul-lib-report": "*" } }, - "@types/jest": { - "version": "26.0.24", - "resolved": "https://registry.npmjs.org/@types/jest/-/jest-26.0.24.tgz", - "integrity": "sha512-E/X5Vib8BWqZNRlDxj9vYXhsDwPYbPINqKF9BsnSoon4RQ0D9moEuLD8txgyypFLH7J4+Lho9Nr/c8H0Fi+17w==", - "dev": true, - "requires": { - "jest-diff": "^26.0.0", - "pretty-format": "^26.0.0" - } - }, "@types/json-schema": { "version": "7.0.8", "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.8.tgz", diff --git a/package.json b/package.json index a8b3508a6..2aee05d56 100644 --- a/package.json +++ b/package.json @@ -141,7 +141,6 @@ "@ionic/angular-toolkit": "^4.0.0", "@ionic/cli": "^6.14.1", "@types/faker": "^5.1.3", - "@types/jest": "^26.0.24", "@types/node": "^12.12.64", "@types/resize-observer-browser": "^0.1.5", "@types/webpack-env": "^1.16.0", diff --git a/src/testing/setup.ts b/src/testing/setup.ts index 35812d3e7..6bffcfaca 100644 --- a/src/testing/setup.ts +++ b/src/testing/setup.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -import 'jest-preset-angular/setup-jest'; +import 'jest-preset-angular'; import { setCreateSingletonMethodProxy } from '@singletons';