diff --git a/redux-actions/redux-actions-tests.ts b/redux-actions/redux-actions-tests.ts index 53305a2c9..918bfcf17 100644 --- a/redux-actions/redux-actions-tests.ts +++ b/redux-actions/redux-actions-tests.ts @@ -24,14 +24,14 @@ const action: ReduxActions.Action = incrementAction(42); let state: number; -const actionHandler = ReduxActions.handleAction( +const actionHandler = ReduxActions.handleAction( 'INCREMENT', (state: number, action: ReduxActions.Action) => state + 1 ); state = actionHandler(0, { type: 'INCREMENT' }); -const actionHandlerWithReduceMap = ReduxActions.handleAction( +const actionHandlerWithReduceMap = ReduxActions.handleAction( 'INCREMENT_BY', { next(state: number, action: ReduxActions.Action) { return state + action.payload;