Skip to content

Commit 70906c5

Browse files
committed
improve setup jest
1 parent 5f5e290 commit 70906c5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

setupJest.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
import 'jest-preset-angular/setup-jest';
1+
import { setupZoneTestEnv } from 'jest-preset-angular/setup-env/zone';
2+
setupZoneTestEnv({
3+
errorOnUnknownElements: true,
4+
errorOnUnknownProperties: true,
5+
});

0 commit comments

Comments
 (0)