且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

未捕获的类型错误:无法读取未定义的抛角Karma/Jasmine的属性';coSearchCriteria';

更新时间:2021-12-02 21:17:35

最终获得修复,只需模拟SPEC文件中的ngrx存储。

class MockStore {
  public dispatch(obj) {
    console.log('dispatching from the mock store!')
  }

  public select(obj) {
    console.log('selecting from the mock store!');

    return Observable.of({})
  }
}