2017-06-08から1日間の記事一覧
xxxx.component.spec.ts に以下のような追記をすると良いかもしれません。 + import { RouterTestingModule } from '@angular/router/testing'; beforeEach(async(() => { TestBed.configureTestingModule({ ... + imports: [RouterTestingModule] }) .compi…
xxxx.component.spec.ts に以下のような追記をすると良いかもしれません。 + import { RouterTestingModule } from '@angular/router/testing'; beforeEach(async(() => { TestBed.configureTestingModule({ ... + imports: [RouterTestingModule] }) .compi…