Skip to content

Commit

Permalink
test: fix unknown default handler
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammad Hasani authored and the-dr-lazy committed Oct 1, 2020
1 parent 8f07454 commit f9b902a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/__tests__/create-reducer.dts.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,6 @@ import { DeepImmutable } from '../types'
// @dts-jest:pass:snap counter scenario
createReducer(0, handleAction => [
handleAction(increment, state => state + 1),
handleAction.default(() => 0),
handleAction.others(() => 0),
])
}

0 comments on commit f9b902a

Please sign in to comment.