fix(core): Remove static dependency from @angular/core to @angular/compiler (#26734) (#26879)

This commit is contained in:
Miško Hevery
2018-10-31 13:14:01 -07:00
committed by GitHub
parent bc93d47129
commit 257ac83095
50 changed files with 964 additions and 1053 deletions

View File

@ -36,6 +36,7 @@ import 'zone.js/dist/jasmine-patch.js';
(global as any).isNode = true;
(global as any).isBrowser = false;
import '@angular/compiler'; // For JIT mode. Must be in front of any other @angular/* imports.
// Init TestBed
import {TestBed} from '@angular/core/testing';
import {ServerTestingModule, platformServerTesting} from '@angular/platform-server/testing/src/server';