Created
February 19, 2019 06:20
-
-
Save lydemann/5661e7b3f3c76763ddca6c3d261bf187 to your computer and use it in GitHub Desktop.
todo-list.reducers.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
describe('loadTodoItems', () => { | |
it('should return isLoading true', () => { | |
const initState = new TodoListInitState(); | |
const loadTodoItemsAction = new GenericAction(TodoListActionTypes.LoadTodoList); | |
const newState = todoListReducers(initState, loadTodoItemsAction); | |
expect(newState.isLoading).toBe(true); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment