test(platform-server): import ivyEnabled from @angular/private/testing (#27302)

PR Close #27302
This commit is contained in:
Igor Minar 2018-11-29 21:07:27 -08:00
parent 81a5ceb6d4
commit 2389a68ea3
1 changed files with 1 additions and 2 deletions

View File

@ -17,10 +17,9 @@ import {MockBackend, MockConnection} from '@angular/http/testing';
import {BrowserModule, DOCUMENT, Title, TransferState, makeStateKey} from '@angular/platform-browser'; import {BrowserModule, DOCUMENT, Title, TransferState, makeStateKey} from '@angular/platform-browser';
import {getDOM} from '@angular/platform-browser/src/dom/dom_adapter'; import {getDOM} from '@angular/platform-browser/src/dom/dom_adapter';
import {BEFORE_APP_SERIALIZED, INITIAL_CONFIG, PlatformState, ServerModule, ServerTransferStateModule, platformDynamicServer, renderModule, renderModuleFactory} from '@angular/platform-server'; import {BEFORE_APP_SERIALIZED, INITIAL_CONFIG, PlatformState, ServerModule, ServerTransferStateModule, platformDynamicServer, renderModule, renderModuleFactory} from '@angular/platform-server';
import {fixmeIvy} from '@angular/private/testing'; import {fixmeIvy, ivyEnabled} from '@angular/private/testing';
import {Observable} from 'rxjs'; import {Observable} from 'rxjs';
import {first} from 'rxjs/operators'; import {first} from 'rxjs/operators';
import {ivyEnabled} from '../../core/src/ivy_switch';
@Component({selector: 'app', template: `Works!`}) @Component({selector: 'app', template: `Works!`})
class MyServerApp { class MyServerApp {