mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
* Adjusts tests to no longer rely on CommonJS features. Switches them to ESM * Updates test initialization files to not double-initialize Jasmine now that bootstrap files are loaded after Jasmine. The `jasmine.boot` setup was hacky from `rules_nodejs` and will break in the future regardless if we e.g. use `rules_js` with actual unmodified `jasmine`. PR Close #48521
29 lines
950 B
TypeScript
29 lines
950 B
TypeScript
/**
|
|
* @license
|
|
* Copyright Google LLC All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/
|
|
/**
|
|
* @license
|
|
* Copyright Google LLC All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/
|
|
|
|
// Must be loaded before zone loads, so that zone can detect WTF.
|
|
import './node-env-setup';
|
|
import './test_fake_polyfill';
|
|
// Setup tests for Zone without microtask support
|
|
import '../lib/node/rollup-main';
|
|
// Zone symbol prefix is set to '__zone_symbol2__' in node-env-setup.ts.
|
|
import './test-env-setup-jasmine';
|
|
import './wtf_mock';
|
|
import '../lib/testing/zone-testing';
|
|
import '../lib/zone-spec/task-tracking';
|
|
import '../lib/zone-spec/wtf';
|
|
import '../lib/rxjs/rxjs';
|
|
import '../lib/rxjs/rxjs-fake-async';
|
|
import '../lib/jasmine/jasmine';
|