更新时间: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({})
}
}