Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
todo-list.selector.spec.ts
it('should return call the todoListSelectorFn', () => {
const store = jasmine.createSpyObj<Store<TodoListState>>('store', ['select']);
const todoListSelector = new TodoListSelector(store);
todoListSelector.getTodoList();
expect(store.select).toHaveBeenCalledWith(todoListSelectorFn);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.