2017-12-16 19:35:47 +00:00
|
|
|
/**
|
|
|
|
|
* @license
|
2020-05-19 19:08:49 +00:00
|
|
|
* Copyright Google LLC All Rights Reserved.
|
2017-12-16 19:35:47 +00:00
|
|
|
*
|
|
|
|
|
* Use of this source code is governed by an MIT-style license that can be
|
2024-09-20 15:23:15 +00:00
|
|
|
* found in the LICENSE file at https://angular.dev/license
|
2017-12-16 19:35:47 +00:00
|
|
|
*/
|
|
|
|
|
|
2022-12-12 19:25:38 +00:00
|
|
|
import 'zone.js/lib/browser/rollup-main';
|
|
|
|
|
import './zone_base_setup';
|
2018-10-24 23:02:25 +00:00
|
|
|
import '@angular/compiler'; // For JIT mode. Must be in front of any other @angular/* imports.
|
2022-06-08 22:00:58 +00:00
|
|
|
|
2017-12-16 19:35:47 +00:00
|
|
|
import {TestBed} from '@angular/core/testing';
|
2024-01-16 21:51:06 +00:00
|
|
|
import {
|
|
|
|
|
BrowserDynamicTestingModule,
|
|
|
|
|
platformBrowserDynamicTesting,
|
|
|
|
|
} from '@angular/platform-browser-dynamic/testing';
|
2017-12-16 19:35:47 +00:00
|
|
|
import {NoopAnimationsModule} from '@angular/platform-browser/animations';
|
|
|
|
|
|
|
|
|
|
TestBed.initTestEnvironment(
|
2024-01-16 21:51:06 +00:00
|
|
|
[BrowserDynamicTestingModule, NoopAnimationsModule],
|
|
|
|
|
platformBrowserDynamicTesting(),
|
|
|
|
|
);
|
2017-12-17 23:10:54 +00:00
|
|
|
|
|
|
|
|
(window as any).isNode = false;
|
|
|
|
|
(window as any).isBrowser = true;
|
2020-05-19 19:08:49 +00:00
|
|
|
(window as any).global = window;
|