ava-ia/core

state.action is undefined

Closed this issue · 1 comments

When I create a custom action that adds the action property to state it fails with Error: Unknown action.

export default (state) => {
    state.action = {
        value: 'I fail'
    };
    return state;
}

When I change my action to use a promise it still fails in the same way.

👍