From 390cefac725f37638cad97bad634f89f4add6309 Mon Sep 17 00:00:00 2001 From: Victor Berchet Date: Tue, 17 May 2016 15:52:35 -0700 Subject: [PATCH] refactor(testing/server): optimize imports --- .../platform-server/testing/server.ts | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/modules/@angular/platform-server/testing/server.ts b/modules/@angular/platform-server/testing/server.ts index e24a6a5c76..93cc175822 100644 --- a/modules/@angular/platform-server/testing/server.ts +++ b/modules/@angular/platform-server/testing/server.ts @@ -5,19 +5,19 @@ import { PLATFORM_INITIALIZER, APPLICATION_COMMON_PROVIDERS, RootRenderer -} from "@angular/core"; -import {DirectiveResolver, ViewResolver, XHR, COMPILER_PROVIDERS} from "@angular/compiler"; +} from '@angular/core'; +import {DirectiveResolver, ViewResolver, XHR, COMPILER_PROVIDERS} from '@angular/compiler'; import { TestComponentBuilder, MockDirectiveResolver, MockViewResolver, TestComponentRenderer -} from "@angular/compiler/testing"; -import {Parse5DomAdapter} from "../index"; -import {AnimationBuilder} from "../../platform-browser/src/animate/animation_builder"; -import {MockAnimationBuilder} from "../../platform-browser/testing/animation_builder_mock"; -import {MockLocationStrategy} from "../../common/testing/mock_location_strategy"; -import {BrowserDetection, DOMTestComponentRenderer} from "@angular/platform-browser/testing"; +} from '@angular/compiler/testing'; +import {Parse5DomAdapter} from '../index'; +import {AnimationBuilder} from '../../platform-browser/src/animate/animation_builder'; +import {MockAnimationBuilder} from '../../platform-browser/testing/animation_builder_mock'; +import {MockLocationStrategy} from '../../common/testing/mock_location_strategy'; +import {BrowserDetection, DOMTestComponentRenderer} from '@angular/platform-browser/testing'; import { DOCUMENT, BROWSER_SANITIZATION_PROVIDERS, @@ -25,12 +25,12 @@ import { EVENT_MANAGER_PLUGINS, ELEMENT_PROBE_PROVIDERS, DomEventsPlugin -} from "@angular/platform-browser"; -import {getDOM} from "../platform_browser_private"; -import {DomRootRenderer, DomRootRenderer_} from "../../platform-browser/src/dom/dom_renderer"; -import {DomSharedStylesHost, SharedStylesHost} from "../../platform-browser/src/dom/shared_styles_host"; -import {LocationStrategy} from "@angular/common"; -import {Log} from "@angular/core/testing"; +} from '@angular/platform-browser'; +import {getDOM} from '../platform_browser_private'; +import {DomRootRenderer, DomRootRenderer_} from '../../platform-browser/src/dom/dom_renderer'; +import {DomSharedStylesHost, SharedStylesHost} from '../../platform-browser/src/dom/shared_styles_host'; +import {LocationStrategy} from '@angular/common'; +import {Log} from '@angular/core/testing'; function initServerTests() { Parse5DomAdapter.makeCurrent();