code review

This commit is contained in:
DD Liu 2017-07-27 00:34:33 -04:00
parent dc683f1d82
commit a4891d22b0
10 changed files with 40 additions and 51 deletions

View file

@ -4,7 +4,7 @@ import reducer from '../../src/reducers/tools';
test('initialState', () => {
let defaultState;
expect(reducer(defaultState /* state */, {type: 'anything'} /* action */) instanceof ToolTypes).toBeTruthy();
expect(reducer(defaultState /* state */, {type: 'anything'} /* action */) in ToolTypes).toBeTruthy();
});
test('changeTool', () => {