Skip to content

Does a Thunk really need an explicit call to fail #604

Open
@kuhmuh

Description

Hello,

I enjoy Easy Peasy very much and just want to migrate to v4 and have some failing tests. I stumbled on this comment and want clarification about this, because it is not yet documented. In v3 a failed thunk (to be exact: at least a thunk that returns a rejected Promise) triggers a listener with a failType. In v4 it does not. The comment suggests to call fail helper method if a thunk fails. Is this really necessary for every "failed/rejected" thunk?
Thanks for clarification.

Best regards
Stefan

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    • Status

      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions