The docs currently suggest setting up a mapping like this: ```javascript var mapping = { '/people': { status: 201, body: { email: 'foo@example.com' } } }; ``` But the test server looks up mapping entries using the HTTP method plus the url path: ```javascript var mapped = mapping[request.method + " " + request.url]; ``` The require path for the test server also appears to be wrong.
The docs currently suggest setting up a mapping like this:
But the test server looks up mapping entries using the HTTP method plus the url path:
The require path for the test server also appears to be wrong.