vendredi 27 juillet 2018

How to mock e2e tests in angular 6

I'm trying mock the httpClient requests, but I don't know how to do this.

I was search for answers and I found this module: ng-apimock. Seems that is used to mock http requests when you make the e2e tests. If you have an example to show, please put the link here.

I read this README that explain how to implement this module in angular 2+ project, but it was not clear to me how to implement.

Can someone explain how mock my e2e tests in angular 6?

Aucun commentaire:

Enregistrer un commentaire