2019-05-31 11:56:07 -04:00
|
|
|
/**
|
|
|
|
* @license
|
2020-05-19 15:08:49 -04:00
|
|
|
* Copyright Google LLC All Rights Reserved.
|
2019-05-31 11:56:07 -04:00
|
|
|
*
|
|
|
|
* 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 './test_fake_polyfill';
|
|
|
|
|
|
|
|
// Setup tests for Zone without microtask support
|
|
|
|
import '../lib/zone';
|
|
|
|
import '../lib/common/promise';
|
|
|
|
import '../lib/common/to-string';
|
|
|
|
|
|
|
|
process.env['errorpolicy'] = (global as any)['__Zone_Error_BlacklistedStackFrames_policy'] =
|
|
|
|
'disable';
|
|
|
|
// Setup test environment
|
|
|
|
require('@bazel/jasmine').boot();
|
|
|
|
import './test-env-setup-jasmine';
|
|
|
|
|
|
|
|
import './wtf_mock';
|
|
|
|
import '../lib/common/error-rewrite';
|
|
|
|
import '../lib/node/node';
|
|
|
|
import '../lib/zone-spec/async-test';
|
|
|
|
import '../lib/zone-spec/fake-async-test';
|
|
|
|
import '../lib/zone-spec/long-stack-trace';
|
|
|
|
import '../lib/zone-spec/proxy';
|
|
|
|
import '../lib/zone-spec/sync-test';
|
|
|
|
import '../lib/zone-spec/task-tracking';
|
|
|
|
import '../lib/zone-spec/wtf';
|
|
|
|
import '../lib/rxjs/rxjs';
|
|
|
|
|
|
|
|
import '../lib/testing/promise-testing';
|