xebia / mock-rest-request

Mock REST requests in NodeJS
https://xebia.com/blog/mocking-a-rest-backend-for-your-angularjs-grunt-web-application/
Apache License 2.0
12 stars 6 forks source link

Predefine Mocks in a json/js file and include #7

Open AlexandreKilian opened 8 years ago

AlexandreKilian commented 8 years ago

I love this a lot, but one thing that would make it even greater would be if there was a way I could define a few responses beforehand in like a mock.js file instead of having to make the requests whenever I run the project

jdmichaud commented 8 years ago

Created a pull request for that: https://github.com/xebia/mock-rest-request/pull/8.