How to mock Http requests with json in CasperJS

139 views Asked by At

I'm implementing visual tests with BackstopJS and CasperJS in a dynamic application, so I want to mock some http request to have a more stable environment.

I already have mocks to my functional tests using http-backend from Angular but I don't know how to do it on CasperJS. Any thoughts?

0

There are 0 answers