Skip to content

Commit

Permalink
chore: 🤖 update test setups
Browse files Browse the repository at this point in the history
  • Loading branch information
TomTomB committed Jan 15, 2025
1 parent 06a877c commit a6a74ec
Show file tree
Hide file tree
Showing 8 changed files with 48 additions and 8 deletions.
7 changes: 6 additions & 1 deletion apps/playground/src/test-setup.ts
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
import 'jest-preset-angular/setup-jest';
import { setupZoneTestEnv } from 'jest-preset-angular/setup-env/zone';

setupZoneTestEnv({
errorOnUnknownElements: true,
errorOnUnknownProperties: true,
});
7 changes: 6 additions & 1 deletion libs/cdk/src/test-setup.ts
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
import 'jest-preset-angular/setup-jest';
import { setupZoneTestEnv } from 'jest-preset-angular/setup-env/zone';

setupZoneTestEnv({
errorOnUnknownElements: true,
errorOnUnknownProperties: true,
});
7 changes: 6 additions & 1 deletion libs/components/src/test-setup.ts
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
import 'jest-preset-angular/setup-jest';
import { setupZoneTestEnv } from 'jest-preset-angular/setup-env/zone';

setupZoneTestEnv({
errorOnUnknownElements: true,
errorOnUnknownProperties: true,
});
7 changes: 6 additions & 1 deletion libs/contentful/src/test-setup.ts
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
import 'jest-preset-angular/setup-jest';
import { setupZoneTestEnv } from 'jest-preset-angular/setup-env/zone';

setupZoneTestEnv({
errorOnUnknownElements: true,
errorOnUnknownProperties: true,
});
7 changes: 6 additions & 1 deletion libs/core/src/test-setup.ts
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
import 'jest-preset-angular/setup-jest';
import { setupZoneTestEnv } from 'jest-preset-angular/setup-env/zone';

setupZoneTestEnv({
errorOnUnknownElements: true,
errorOnUnknownProperties: true,
});
7 changes: 6 additions & 1 deletion libs/query/src/test-setup.ts
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
import 'jest-preset-angular/setup-jest';
import { setupZoneTestEnv } from 'jest-preset-angular/setup-env/zone';

setupZoneTestEnv({
errorOnUnknownElements: true,
errorOnUnknownProperties: true,
});
7 changes: 6 additions & 1 deletion libs/theming/src/test-setup.ts
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
import 'jest-preset-angular/setup-jest';
import { setupZoneTestEnv } from 'jest-preset-angular/setup-env/zone';

setupZoneTestEnv({
errorOnUnknownElements: true,
errorOnUnknownProperties: true,
});
7 changes: 6 additions & 1 deletion libs/types/src/test-setup.ts
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
import 'jest-preset-angular/setup-jest';
import { setupZoneTestEnv } from 'jest-preset-angular/setup-env/zone';

setupZoneTestEnv({
errorOnUnknownElements: true,
errorOnUnknownProperties: true,
});

0 comments on commit a6a74ec

Please sign in to comment.