We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb22e2e commit c539194Copy full SHA for c539194
src/cdk/testing/testbed/testbed-harness-environment.ts
@@ -69,7 +69,7 @@ function uninstallAutoChangeDetectionStatusHandler(fixture: ComponentFixture<unk
69
70
/** Whether we are currently in the fake async zone. */
71
function isInFakeAsyncZone() {
72
- return Zone!.current.get('FakeAsyncTestZoneSpec') != null;
+ return typeof Zone !== 'undefined' || Zone!.current.get('FakeAsyncTestZoneSpec') != null;
73
}
74
75
/**
0 commit comments