Skip to content

Commit 4990e5c

Browse files
cellogtimdorr
authored andcommitted
fix warning in test (reduxjs#3527)
Former-commit-id: 3bfb592 Former-commit-id: e3f9dc3
1 parent 282bbf1 commit 4990e5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/replaceReducers.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ describe('replaceReducers test', () => {
77
bar: (state = 2, _action) => state
88
})
99
const store = createStore((state, action) => {
10-
if (state === undefined) return 5
10+
if (state === undefined) return { type: 5 }
1111
return action
1212
})
1313

0 commit comments

Comments
 (0)