File tree Expand file tree Collapse file tree
modules/@angular/router/test/integration Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -299,23 +299,6 @@ export function main() {
299299 router . navigateByUrl ( '/child-with-grandchild/grandchild?extra=0' ) ;
300300 } ) ;
301301 } ) ) ;
302-
303-
304- describe ( 'router link dsl' , ( ) => {
305- it ( 'should generate link hrefs with params' , inject ( [ AsyncTestCompleter ] , ( async ) => {
306- compile ( '<a href="hello" [routerLink]="route:./User(name: name)">{{name}}</a>' )
307- . then ( ( _ ) => router . config (
308- [ new Route ( { path : '/user/:name' , component : UserCmp , name : 'User' } ) ] ) )
309- . then ( ( _ ) => router . navigateByUrl ( '/a/b' ) )
310- . then ( ( _ ) => {
311- fixture . debugElement . componentInstance . name = 'brian' ;
312- fixture . detectChanges ( ) ;
313- expect ( fixture . debugElement . nativeElement ) . toHaveText ( 'brian' ) ;
314- expect ( getHref ( fixture ) ) . toEqual ( '/user/brian' ) ;
315- async . done ( ) ;
316- } ) ;
317- } ) ) ;
318- } ) ;
319302 } ) ;
320303
321304 describe ( 'when clicked' , ( ) => {
You can’t perform that action at this time.
0 commit comments