From ddd469e11bfd9b0e0510683effc0efa56a1aeae0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leosvel=20P=C3=A9rez=20Espinosa?= Date: Tue, 21 May 2024 10:40:37 +0200 Subject: [PATCH] feat(angular): update jest-preset-angular (#23804) ## Current Behavior ## Expected Behavior ## Related Issue(s) Fixes # --- packages/angular/migrations.json | 16 ++++++++++++++++ packages/angular/src/utils/versions.ts | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/packages/angular/migrations.json b/packages/angular/migrations.json index fc131eabbcd86..c0854e3509aab 100644 --- a/packages/angular/migrations.json +++ b/packages/angular/migrations.json @@ -1871,6 +1871,22 @@ "alwaysAddToPackageJson": false } } + }, + "19.2.0-jest": { + "version": "19.2.0-beta.0", + "requires": { + "@angular-devkit/build-angular": ">=15.0.0 <19.0.0", + "@angular/compiler-cli": ">=15.0.0 <19.0.0", + "@angular/core": ">=15.0.0 <19.0.0", + "@angular/platform-browser-dynamic": ">=15.0.0 <19.0.0", + "jest": "^29.0.0" + }, + "packages": { + "jest-preset-angular": { + "version": "~14.1.0", + "alwaysAddToPackageJson": false + } + } } } } diff --git a/packages/angular/src/utils/versions.ts b/packages/angular/src/utils/versions.ts index 187b000669708..d3b9b54b014fb 100644 --- a/packages/angular/src/utils/versions.ts +++ b/packages/angular/src/utils/versions.ts @@ -23,7 +23,7 @@ export const postcssUrlVersion = '~10.1.3'; export const autoprefixerVersion = '^10.4.0'; export const tsNodeVersion = '10.9.1'; -export const jestPresetAngularVersion = '~14.0.3'; +export const jestPresetAngularVersion = '~14.1.0'; export const typesNodeVersion = '18.16.9'; export const jasmineMarblesVersion = '^0.9.2';