I am trying to create unit testing with jest in angular 8 with RXJS. I want to mock store. I am using https://ngrx.io/guide/store/testing example of Using Mock Selectors. could anyone help me to how can I use MemoizedSelector and MockStore to use mock the store independently.
this.store.select(homeState).pipe(select(s => s.checkStatus)).subscribe(status => {
console.log(status);
// We performation other action.
});
I have many selectors in this component. how can I mock many selectors and update the selector's value for each test case?