Add integration tests for success, error and progress #37
Open
Description
follow up for #36.
We should add integration tests for the 3 main cases:
- Create a task which succeeds
- Create a task which errors
- 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
Labels
No labels