Skip to content

Commit cfbdc17

Browse files
committed
Remove unnecessary arguments
`actions.clearCompleted()` doesn't accept any arguments.
1 parent b35c1c9 commit cfbdc17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/todomvc/test/actions/todos.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ describe('todo actions', () => {
3939
})
4040

4141
it('clearCompleted should create CLEAR_COMPLETED action', () => {
42-
expect(actions.clearCompleted('Use Redux')).toEqual({
42+
expect(actions.clearCompleted()).toEqual({
4343
type: types.CLEAR_COMPLETED
4444
})
4545
})

0 commit comments

Comments
 (0)