Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
TestBed.configureTestingModule({
providers: [
BookStoreService,
provideMockStore({
selectors: [
{
selector: selectBooks,
value: books
},
{
selector: selectBook,
value: books[0]
}
]
}),
provideMockActions(mockActions)
]
});
}));
beforeEach(() => {
const actionSource = new ReplaySubject();
dispatch = (action: Action) => actionSource.next(action);
TestBed.configureTestingModule({
imports: [],
providers: [
provideMockActions(actionSource),
ExecutorOutputParser
]
});
service = TestBed.get(ExecutorOutputParser);
});