angular / 4.4.6 / api / core / testing / resetfakeasynczone.html /

resetFakeAsyncZone

function

npm Package @angular/core
Module import { resetFakeAsyncZone } from '@angular/core/testing';
Source core/testing/src/fake_async.ts

function resetFakeAsyncZone();

Description

Clears out the shared fake async zone for a test. To be called in a global beforeEach.

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v4.angular.io/api/core/testing/resetFakeAsyncZone