Last active
February 23, 2019 14:55
-
-
Save lydemann/4c17dddb216f45dbfe008306b0ba7ea1 to your computer and use it in GitHub Desktop.
todo-list.selector.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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