diff --git a/packages/playwright-ct-angular/package.json b/packages/playwright-ct-angular/package.json index a520abddbddec..d87acb2ac2f21 100644 --- a/packages/playwright-ct-angular/package.json +++ b/packages/playwright-ct-angular/package.json @@ -36,8 +36,7 @@ "@angular/core": "^17.0.0", "@angular/platform-browser-dynamic": "^17.0.0", "rxjs": "~7.8.1", - "typescript": "~5.2.0", - "zone.js": "~0.14.0" + "typescript": "~5.2.0" }, "peerDependencies": { "@angular/compiler": "^17.0.0", diff --git a/packages/playwright-ct-angular/registerSource.mjs b/packages/playwright-ct-angular/registerSource.mjs index db52c56159fdf..7d0c747112a95 100644 --- a/packages/playwright-ct-angular/registerSource.mjs +++ b/packages/playwright-ct-angular/registerSource.mjs @@ -19,7 +19,6 @@ /** @typedef {import('../playwright-ct-core/types/component').ObjectComponent} ObjectComponent */ -import 'zone.js'; import { reflectComponentType } from '@angular/core'; import { getTestBed, TestBed } from '@angular/core/testing'; import { diff --git a/tests/components/ct-angular/playwright/index.ts b/tests/components/ct-angular/playwright/index.ts index 8fd1ba8055ac5..6389cfd9fc263 100644 --- a/tests/components/ct-angular/playwright/index.ts +++ b/tests/components/ct-angular/playwright/index.ts @@ -1,3 +1,4 @@ +import 'zone.js'; import '@/assets/styles.css'; import { TOKEN } from '@/components/inject.component'; import { routes } from '@/router';