Last active
February 23, 2019 14:51
-
-
Save lydemann/6843bd49163e8ede59fee75c847d65a0 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 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