A / superagent-mocker

Pretty simple in-browser mocks for CRUD and REST API
132 stars 32 forks source link

Fix error parameter returned by mocked superagent to match the docume… #34

Closed kmudrick closed 8 years ago

kmudrick commented 8 years ago

…nted superagent error handling

coveralls commented 8 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 19b78b7b681a87f1566202bf376054d84ff10cce on kmudrick:fix-error-param into 72b96a6e62f9ed1fb0aacacd6d484be75eabf777 on A:master.

kmudrick commented 8 years ago

See http://visionmedia.github.io/superagent/#error-handling - superagent itself sends a more robust error than what this mocks out in error scenarios