chore: remove deprecated router 2/2

This commit is contained in:
Misko Hevery
2016-08-09 15:18:55 -07:00
committed by Alex Rickabaugh
parent a20a420be6
commit f9da3c98d6
14 changed files with 20 additions and 46 deletions

View File

@ -8,8 +8,7 @@
import {XHR} from '@angular/compiler';
import {Component, bind} from '@angular/core';
import {TestComponentBuilder, addProviders, async, fakeAsync, flushMicrotasks, inject, tick} from '@angular/core/testing';
import {ROUTER_DIRECTIVES, Route} from '@angular/router-deprecated';
import {TestComponentBuilder, addProviders, async, fakeAsync, inject, tick} from '@angular/core/testing';
import {XHRImpl} from '../src/xhr/xhr_impl';
@ -36,15 +35,6 @@ class ExternalTemplateComp {
class BadTemplateUrl {
}
@Component({
selector: 'test-router-cmp',
template:
`<a [routerLink]="['One']">one</a> <a [routerLink]="['Two']">two</a><router-outlet></router-outlet>`,
directives: [ROUTER_DIRECTIVES]
})
class TestRouterComponent {
}
// Tests for angular2/testing bundle specific to the browser environment.
// For general tests, see test/testing/testing_public_spec.ts.
export function main() {