mercredi 27 juillet 2016

Angular Unit testing: how to mock server sent events

I have a angular service that wraps a server-sent events. How do I mock the server-sent events in unit testing? Can I use mockHttpbackend in this case?

Aucun commentaire:

Enregistrer un commentaire