We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f400e9c commit 5bdd291Copy full SHA for 5bdd291
packages/core/testing/src/fake_async.ts
@@ -59,7 +59,7 @@ export function resetFakeAsyncZoneIfExists(): void {
59
* @publicApi
60
*/
61
export function fakeAsync(fn: Function, options?: {flush?: boolean}): (...args: any[]) => any {
62
- if (fakeAsyncTestModule && (Zone as any)['ProxyZoneSpec']?.isLoaded()) {
+ if (fakeAsyncTestModule) {
63
return fakeAsyncTestModule.fakeAsync(fn, options);
64
}
65
throw new Error(fakeAsyncTestModuleNotLoadedErrorMessage);
0 commit comments