style(lint): re-format modules/@angular
This commit is contained in:
@ -1,23 +1,15 @@
|
||||
import {
|
||||
beforeEach,
|
||||
ddescribe,
|
||||
xdescribe,
|
||||
describe,
|
||||
inject,
|
||||
beforeEachProviders,
|
||||
it,
|
||||
xit
|
||||
} from '@angular/core/testing/testing_internal';
|
||||
import {provide, Component} from '@angular/core';
|
||||
import {isBlank} from '../../src/facade/lang';
|
||||
import {BaseException} from '../../src/facade/exceptions';
|
||||
import {RootRouter} from '@angular/router-deprecated/src/router';
|
||||
import {Router, ROUTER_DIRECTIVES, ROUTER_PRIMARY_COMPONENT} from '@angular/router-deprecated';
|
||||
import {Location} from '@angular/common';
|
||||
import {RouteRegistry} from '@angular/router-deprecated/src/route_registry';
|
||||
import {getDOM} from '@angular/platform-browser/src/dom/dom_adapter';
|
||||
import {SpyLocation} from '@angular/common/testing';
|
||||
import {TestComponentBuilder, ComponentFixture} from '@angular/compiler/testing';
|
||||
import {ComponentFixture, TestComponentBuilder} from '@angular/compiler/testing';
|
||||
import {Component, provide} from '@angular/core';
|
||||
import {beforeEach, beforeEachProviders, ddescribe, describe, inject, it, xdescribe, xit} from '@angular/core/testing/testing_internal';
|
||||
import {getDOM} from '@angular/platform-browser/src/dom/dom_adapter';
|
||||
import {ROUTER_DIRECTIVES, ROUTER_PRIMARY_COMPONENT, Router} from '@angular/router-deprecated';
|
||||
import {RouteRegistry} from '@angular/router-deprecated/src/route_registry';
|
||||
import {RootRouter} from '@angular/router-deprecated/src/router';
|
||||
|
||||
import {BaseException} from '../../src/facade/exceptions';
|
||||
import {isBlank} from '../../src/facade/lang';
|
||||
|
||||
|
||||
/**
|
||||
@ -36,15 +28,13 @@ export class RootCmp {
|
||||
|
||||
export function compile(
|
||||
tcb: TestComponentBuilder,
|
||||
template: string = "<router-outlet></router-outlet>"): Promise<ComponentFixture<RootCmp>> {
|
||||
template: string = '<router-outlet></router-outlet>'): Promise<ComponentFixture<RootCmp>> {
|
||||
return tcb.overrideTemplate(RootCmp, ('<div>' + template + '</div>')).createAsync(RootCmp);
|
||||
}
|
||||
|
||||
export var TEST_ROUTER_PROVIDERS: any[] = [
|
||||
RouteRegistry,
|
||||
{provide: Location, useClass: SpyLocation},
|
||||
{provide: ROUTER_PRIMARY_COMPONENT, useValue: RootCmp},
|
||||
{provide: Router, useClass: RootRouter}
|
||||
RouteRegistry, {provide: Location, useClass: SpyLocation},
|
||||
{provide: ROUTER_PRIMARY_COMPONENT, useValue: RootCmp}, {provide: Router, useClass: RootRouter}
|
||||
];
|
||||
|
||||
export function clickOnElement(anchorEl: any /** TODO #9100 */) {
|
||||
|
Reference in New Issue
Block a user