mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2025-06-13 05:31:52 -04:00
code review
This commit is contained in:
parent
dc683f1d82
commit
a4891d22b0
10 changed files with 40 additions and 51 deletions
test/unit
|
@ -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', () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue