Skip to content

How to add tests? #28

@beaugunderson

Description

@beaugunderson

We use redux-idle-monitor and I want to ensure that it works as expected for us in production--my idea was to do this in a front-end test by manually dispatching a NEXT_IDLE_STATE or GOTO_IDLE_STATE action. I can dispatch the actions but NEXT_IDLE_STATE starts a timer, which is not what I want, and GOTO_IDLE_STATE updates the state but never triggers my idleStatusAction.

What would you recommend?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions