message: test: update router tests to work with es2015 temporal dead zone
  Update router tests to work with the the es2015 temporal dead zone.
  Somewhat similar to:
  PR Close
diff: @@ -4283,10 +4283,6 @@ describe('Integration', () => {
  return of(delayMs).pipe(delay(delayMs), mapTo(true));
  }
  - @NgModule({imports: [RouterModule.forChild([{path: '', component: BlankCmp}])]})
  - class LoadedModule {
  - }
  -
  let log: string[];
  beforeEach(() => {
  @@ -4338,10 +4334,14 @@ describe('Integration', () => {
  const router = TestBed.inject(Router);
  router.resetConfig([
  - {path: 'lazy', canLoad: ['guard1'], loadChildren: () => of(LoadedModule)},
  + {path: 'lazy', canLoad: ['guard1'], loadChildren: () => of(ModuleWithBlankCmpAsRoute)},
  {path: 'redirected', component: SimpleCmp},
  // canLoad should not run for this route because 'lazy' activates first
  - {path: '', canLoad: ['returnFalseAndNavigate'], loadChildren: () => of(LoadedModule)},
  + {
  + path: '',
  + canLoad: ['returnFalseAndNavigate'],
  + loadChildren: () => of(ModuleWithBlankCmpAsRoute)
  + },
  ]);
  router.navigateByUrl('/lazy');
  @@ -4351,8 +4351,11 @@ describe('Integration', () => {
  }));
  it('should execute canLoad guards', fakeAsync(inject([Router], (router: Router) => {
  - router.resetConfig(
  - [{path: 'lazy', canLoad: ['guard1', 'guard2'], loadChildren: () => LoadedModule}]);
  + router.resetConfig([{
  + path: 'lazy',
  + canLoad: ['guard1', 'guard2'],
  + loadChildren: () => ModuleWithBlankCmpAsRoute
  + }]);
  router.navigateByUrl('/lazy');
  tick(5);
  @@ -4367,7 +4370,7 @@ describe('Integration', () => {
  {
  path: 'lazy',
  canLoad: ['returnUrlTree', 'guard1', 'guard2'],
  - loadChildren: () => LoadedModule
  + loadChildren: () => ModuleWithBlankCmpAsRoute
  },
  {path: 'redirected', component: SimpleCmp}
  ]);
  @@ -4383,7 +4386,11 @@ describe('Integration', () => {
  it('should redirect with UrlTree if UrlTree is lower priority',
  fakeAsync(inject([Router, Location], (router: Router, location: Location) => {
  router.resetConfig([
  - {path: 'lazy', canLoad: ['guard1', 'returnUrlTree'], loadChildren: () => LoadedModule},
  + {
  + path: 'lazy',
  + canLoad: ['guard1', 'returnUrlTree'],
  + loadChildren: () => ModuleWithBlankCmpAsRoute
  + },
  {path: 'redirected', component: SimpleCmp}
  ]);
  @@ -6289,6 +6296,10 @@ class CollectParamsCmp {
  class BlankCmp {
  }
  +@NgModule({imports: [RouterModule.forChild([{path: '', component: BlankCmp}])]})
  +class ModuleWithBlankCmpAsRoute {
  +}
  +
  @Component({
  selector: 'team-cmp',
  template: `team {{id | async}} ` +
  