Skip to content

Commit

Permalink
fix(ct): remove zone.js from angular-ct (#8)
Browse files Browse the repository at this point in the history
this is preparatory work for allowing zoneless testing
  • Loading branch information
yjaaidi authored Jun 5, 2024
1 parent 666a18d commit cc7e9b8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions packages/playwright-ct-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 0 additions & 1 deletion packages/playwright-ct-angular/registerSource.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
1 change: 1 addition & 0 deletions tests/components/ct-angular/playwright/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'zone.js';
import '@/assets/styles.css';
import { TOKEN } from '@/components/inject.component';
import { routes } from '@/router';
Expand Down

0 comments on commit cc7e9b8

Please sign in to comment.