Revert "MOBILE-3833 config: Update jest"

This reverts commit 9dbcd09e4a.
main
Pau Ferrer Ocaña 2021-08-09 12:00:19 +02:00
parent aff39e8201
commit e96d1b5c09
4 changed files with 2 additions and 24 deletions

View File

@ -16,7 +16,7 @@ module.exports = {
moduleNameMapper: pathsToModuleNameMapper(compilerOptions.paths, { prefix: '<rootDir>/src/' }), moduleNameMapper: pathsToModuleNameMapper(compilerOptions.paths, { prefix: '<rootDir>/src/' }),
globals: { globals: {
'ts-jest': { 'ts-jest': {
tsconfig: './tsconfig.test.json', tsConfig: './tsconfig.test.json',
}, },
}, },
}; };

21
package-lock.json generated
View File

@ -113,7 +113,6 @@
"@ionic/angular-toolkit": "^4.0.0", "@ionic/angular-toolkit": "^4.0.0",
"@ionic/cli": "^6.14.1", "@ionic/cli": "^6.14.1",
"@types/faker": "^5.1.3", "@types/faker": "^5.1.3",
"@types/jest": "^26.0.24",
"@types/node": "^12.12.64", "@types/node": "^12.12.64",
"@types/resize-observer-browser": "^0.1.5", "@types/resize-observer-browser": "^0.1.5",
"@types/webpack-env": "^1.16.0", "@types/webpack-env": "^1.16.0",
@ -5248,16 +5247,6 @@
"@types/istanbul-lib-report": "*" "@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": { "node_modules/@types/json-schema": {
"version": "7.0.8", "version": "7.0.8",
"resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.8.tgz", "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.8.tgz",
@ -35075,16 +35064,6 @@
"@types/istanbul-lib-report": "*" "@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": { "@types/json-schema": {
"version": "7.0.8", "version": "7.0.8",
"resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.8.tgz", "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.8.tgz",

View File

@ -141,7 +141,6 @@
"@ionic/angular-toolkit": "^4.0.0", "@ionic/angular-toolkit": "^4.0.0",
"@ionic/cli": "^6.14.1", "@ionic/cli": "^6.14.1",
"@types/faker": "^5.1.3", "@types/faker": "^5.1.3",
"@types/jest": "^26.0.24",
"@types/node": "^12.12.64", "@types/node": "^12.12.64",
"@types/resize-observer-browser": "^0.1.5", "@types/resize-observer-browser": "^0.1.5",
"@types/webpack-env": "^1.16.0", "@types/webpack-env": "^1.16.0",

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
import 'jest-preset-angular/setup-jest'; import 'jest-preset-angular';
import { setCreateSingletonMethodProxy } from '@singletons'; import { setCreateSingletonMethodProxy } from '@singletons';