Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add integration tests for success, error and progress #37

Open
gr2m opened this issue Jan 14, 2017 · 0 comments
Open

Add integration tests for success, error and progress #37

gr2m opened this issue Jan 14, 2017 · 0 comments

Comments

@gr2m
Copy link
Member

gr2m commented Jan 14, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant