@@ -37,17 +37,17 @@ describe('Integration', () => {
3737 ] ;
3838 } ) ;
3939
40- fit ( 'should navigate with a provided config' ,
41- fakeAsync ( inject (
42- [ Router , TestComponentBuilder , Location ] ,
43- ( router : Router , tcb : TestComponentBuilder , location : Location ) => {
44- const fixture = createRoot ( tcb , router , RootCmp ) ;
40+ it ( 'should navigate with a provided config' ,
41+ fakeAsync ( inject (
42+ [ Router , TestComponentBuilder , Location ] ,
43+ ( router : Router , tcb : TestComponentBuilder , location : Location ) => {
44+ const fixture = createRoot ( tcb , router , RootCmp ) ;
4545
46- router . navigateByUrl ( '/simple' ) ;
47- advance ( fixture ) ;
46+ router . navigateByUrl ( '/simple' ) ;
47+ advance ( fixture ) ;
4848
49- expect ( location . path ( ) ) . toEqual ( '/simple' ) ;
50- } ) ) ) ;
49+ expect ( location . path ( ) ) . toEqual ( '/simple' ) ;
50+ } ) ) ) ;
5151
5252
5353 it ( 'should update location when navigating' ,
@@ -262,7 +262,7 @@ describe('Integration', () => {
262262 const fixture = createRoot ( tcb , router , RootCmp ) ;
263263
264264 router . resetConfig ( [
265- { path : '' , terminal : true , component : SimpleCmp } ,
265+ { path : '' , pathMatch : 'full' , component : SimpleCmp } ,
266266 { path : 'user/:name' , component : UserCmp }
267267 ] ) ;
268268
@@ -830,7 +830,7 @@ describe('Integration', () => {
830830 path : 'team/:id' ,
831831 component : TeamCmp ,
832832 children : [
833- { path : '' , terminal : true , component : SimpleCmp } , {
833+ { path : '' , pathMatch : 'full' , component : SimpleCmp } , {
834834 path : 'user/:name' ,
835835 component : UserCmp ,
836836 canDeactivate : [ 'CanDeactivateUser' ]
0 commit comments