adding some instructions for step5 exercise and make sure jest doesn't do anything with docs

This commit is contained in:
Ken
2019-02-20 12:20:30 -08:00
parent 4f1e5ff2d0
commit 9bce24d819
4 changed files with 15 additions and 4 deletions

View File

@@ -9,11 +9,17 @@ describe('TodoApp reducers', () => {
const keys = Object.keys(newState);
// make sure that adding an item would not result in the same instance of state
// TODO: uncomment the below to get started
/*
expect(newState).not.toBe(state);
expect(keys.length).toBe(1);
expect(newState[keys[0]].label).toBe('item1');
expect(newState[keys[0]].completed).toBeFalsy();
*/
});
// test remove, complete and clear
// TODO: test remove, complete and clear
});