Skip to content

Add integration tests for success, error and progress #37

Open
@gr2m

Description

follow up for #36.

We should add integration tests for the 3 main cases:

  1. Create a task which succeeds
  2. Create a task which errors
  3. Create a task which gets a progress update

I would suggest we mock out @hoodie/store-client using proxyquire for the tests. We can simulate any events we want for the respective cases and can check if the right methods have been called.

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