More day 2 updates

This commit is contained in:
Elizabeth Craig
2019-02-28 21:26:06 -08:00
parent 24e0416935
commit 0d1160145a
5 changed files with 48 additions and 55 deletions

View File

@@ -4,16 +4,15 @@ import { actions } from '../actions';
describe('reducers', () => {
it('should add items', () => {
// 1. use Redux's createStore() to create a store with reducer as argument
// along with the initial state
// 1. Use Redux's createStore() to create a store. Pass in a reducer along with the initial state.
//
// 2. call store.dispatch() with some action messages to indicate the kind of
// 2. Call store.dispatch() with some action messages to indicate the kind of
// action to perform (in this case, addTodo)
//
// 3. assert with expect() on the resultant store.getState().todos
// 3. Assert with expect() on the resultant store.getState().todos
});
// Tests left for you to do:
// Tests left for you to write:
// - remove
// - clear
// - complete