vendredi 29 janvier 2016

nodejs: Mockery Examples

I need to mock a html request from the source url using Mockery. I looked at the documentation but could not understand the head or tail of it.

Let say if i want to mock

url = "http://test.server.fr/"

How do i do that using Mockery?

Also if anyone has any examples or Tutorial where I can look deeper into. I tried with google but could not find any links.

Please note it is not PHP Mockery.

Also please dont suggest me any other tools/framework.

Aucun commentaire:

Enregistrer un commentaire