以下の内容はhttps://okamuuu.hatenablog.com/entry/2017/06/08/174126より取得しました。


ng test で Can't bind to 'routerLink' since it isn't a known property of 'a'. のような事を言われる場合

xxxx.component.spec.ts に以下のような追記をすると良いかもしれません。

+ import { RouterTestingModule } from '@angular/router/testing';


   beforeEach(async(() => {
     TestBed.configureTestingModule({
       ...
+      imports: [RouterTestingModule]
     })
     .compileComponents();



以上の内容はhttps://okamuuu.hatenablog.com/entry/2017/06/08/174126より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14