You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an app similar to Instagram and I have JS tests which trigger API calls for example to follow a user.
Is there a way to find out if the follow activity went through to Stream.io programmatically?
Thanks
The text was updated successfully, but these errors were encountered:
gianpaj
changed the title
How to write tests to know Stream.io is receiving the data?
How to write tests to know Stream.io is receiving the activity data?
Mar 2, 2018
Preferrably for unit tests you'd mock the external service so your test suite runs faster and you won't use your quotas unnecessarily.
The Feed.follow() function returns a Promise so you can provide a rejection handler method.
Closing for now but happy to continue the discussion.
Reminder: general implementation questions are best directed to Stack Overflow with the getstream-io tag in order to benefit the Stream developer community.
I have an app similar to Instagram and I have JS tests which trigger API calls for example to follow a user.
Is there a way to find out if the follow activity went through to Stream.io programmatically?
Thanks
The text was updated successfully, but these errors were encountered: