test(ivy): run more router tests in CI (#27325)

PR Close #27325
This commit is contained in:
Marc Laval 2018-11-28 15:10:03 +01:00 committed by Igor Minar
parent 01fd0cd878
commit a566e52ca4
3 changed files with 560 additions and 595 deletions

File diff suppressed because it is too large Load Diff

View File

@ -9,7 +9,6 @@
import {CommonModule} from '@angular/common'; import {CommonModule} from '@angular/common';
import {Component, ContentChild, NgModule, TemplateRef, Type, ViewChild, ViewContainerRef} from '@angular/core'; import {Component, ContentChild, NgModule, TemplateRef, Type, ViewChild, ViewContainerRef} from '@angular/core';
import {ComponentFixture, TestBed, fakeAsync, tick} from '@angular/core/testing'; import {ComponentFixture, TestBed, fakeAsync, tick} from '@angular/core/testing';
import {fixmeIvy} from '@angular/private/testing';
import {Router} from '@angular/router'; import {Router} from '@angular/router';
import {RouterTestingModule} from '@angular/router/testing'; import {RouterTestingModule} from '@angular/router/testing';

View File

@ -61,7 +61,7 @@ describe('RouterPreloader', () => {
}); });
fixmeIvy('unknown') && fixmeIvy('unknown') && // Error: NgModuleRef._parent is undefined
it('should work', it('should work',
fakeAsync(inject( fakeAsync(inject(
[NgModuleFactoryLoader, RouterPreloader, Router, NgModuleRef], [NgModuleFactoryLoader, RouterPreloader, Router, NgModuleRef],
@ -129,7 +129,7 @@ describe('RouterPreloader', () => {
}); });
}); });
fixmeIvy('FW-???: Cannot read property \'declarations\' of undefined') && fixmeIvy('unknown') && // Error: NgModuleRef._parent is undefined
it('should work', it('should work',
fakeAsync(inject( fakeAsync(inject(
[NgModuleFactoryLoader, RouterPreloader, Router, NgModuleRef, Compiler], [NgModuleFactoryLoader, RouterPreloader, Router, NgModuleRef, Compiler],