From 678aec3a701f8f447d61cb11de1ac1c2c1b3078a Mon Sep 17 00:00:00 2001 From: Daniel Bisgrove Date: Wed, 27 Nov 2024 11:15:20 -0500 Subject: [PATCH] fixup! Upgrading zone.js --- package.json | 2 +- src/test.ts | 5 +++-- yarn.lock | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 358ebdcd..0c6d51d9 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "ngx-toastr": "^17.0.2", "rxjs": "7.8.1", "ts-clipboard": "^1.0.17", - "zone.js": "~0.15.0" + "zone.js": "^0.15.0" }, "devDependencies": { "@angular-devkit/build-angular": "^17.3.11", diff --git a/src/test.ts b/src/test.ts index 5fa1d0e6..f06766ab 100755 --- a/src/test.ts +++ b/src/test.ts @@ -1,6 +1,7 @@ // This file is required by karma.conf.cjs and loads recursively all the .spec and framework files - -import 'zone.js/plugins/zone-testing'; +import 'zone.js'; +// eslint-disable-next-line import/no-unresolved +import 'zone.js/testing'; // It says it can't find the module, but it works and this is what the docs say to do. import { TestBed } from '@angular/core/testing'; import { BrowserDynamicTestingModule, diff --git a/yarn.lock b/yarn.lock index 1aead319..865f711d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7830,7 +7830,7 @@ yocto-queue@^1.0.0: resolved "https://registry.npmjs.org/yocto-queue/-/yocto-queue-1.1.1.tgz" integrity sha512-b4JR1PFR10y1mKjhHY9LaGo6tmrgjit7hxVIeAmyMw3jegXR4dhYqLaQF5zMXZxY7tLpMyJeLjr1C4rLmkVe8g== -zone.js@~0.15.0: +zone.js@^0.15.0: version "0.15.0" resolved "https://registry.yarnpkg.com/zone.js/-/zone.js-0.15.0.tgz#4810624e58d6dcf7b8379c1631765589917a0d8f" integrity sha512-9oxn0IIjbCZkJ67L+LkhYWRyAy7axphb3VgE2MBDlOqnmHMPWGYMxJxBYFueFq/JGY2GMwS0rU+UCLunEmy5UA==