Using Ngmock For Backend-less Testing An External Site
Is there a way to use angular-mocks.js to invoke backend-less request mocking, testing an external site? There are plenty of examples using angular mocks on a codebase that the de
Solution 1:
You could use the https://github.com/atecarlos/protractor-http-mock library which lets you intercept HTTP requests and serve predefined responses. Great thing about this library is that you don't have to modify your application code.
Post a Comment for "Using Ngmock For Backend-less Testing An External Site"