atecarlos / protractor-http-mock

A library designed to work alongside Protractor for setting up mocks for your HTTP ajax requests.
MIT License
173 stars 70 forks source link

Docs do not have json headers wrapped in double quotes #126

Closed wileyew closed 5 years ago

wileyew commented 6 years ago

@atecarlos I believe there is an issue with the README.md module where the request and response headers need to be wrapped in double quotes. I believe the request and response header values need to wrapped in quotes. Example of reference below: { request: { path: '/users/1', method: 'GET' }, response: { data: { userName: 'pro-mock', email: 'pro-mock@email.com' } } }