Last active
March 10, 2019 14:13
-
-
Save lydemann/a534b9e0ab4ae7144bada6c765c11ce1 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('default', () => { | |
it('should return init state', () => { | |
const noopAction = new GenericAction('noop' as TodoListActionTypes); | |
const newState = todoListReducers(undefined, noopAction); | |
const initState = new TodoListInitState(); | |
expect(newState).toEqual(initState); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment