Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
todo-list.selector.spec.ts
it('should return the todoList', () => {
const todos = [new TODOItem('todo1', 'todo1')];
const todoListState = {
todos: todos,
isLoading: true
} as TodoListState;
expect(todoListSelectorFn.projector(todoListState)).toEqual(todos);
});
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.