UNPKG

763 BJavaScriptView Raw
1/**
2 * @license
3 * Copyright Google Inc. All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8import { resetFakeAsyncZone } from './fake_async';
9import { TestBed } from './test_bed';
10var _global = (typeof window === 'undefined' ? global : window);
11// Reset the test providers and the fake async zone before each test.
12if (_global.beforeEach) {
13 _global.beforeEach(function () {
14 TestBed.resetTestingModule();
15 resetFakeAsyncZone();
16 });
17}
18// TODO(juliemr): remove this, only used because we need to export something to have compilation
19// work.
20export var __core_private_testing_placeholder__ = '';
21//# sourceMappingURL=testing.js.map
\No newline at end of file