A / superagent-mocker

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

restor the response object #31

Open yalishizhude opened 8 years ago

yalishizhude commented 8 years ago

I'm strongly against to modify response object, for 2 reasons:

  1. It will conflict with a response object has the same property "status".
  2. It calls the mergeObjects function which forcely changes the response(maybe it's a string,array,number or sth else) to an object.That's really a bad thing!
coveralls commented 8 years ago

Coverage Status

Coverage decreased (-0.06%) to 97.561% when pulling 717789d29d8e1d0ab6c3cf340bc90e6a9150d731 on yalishizhude:master into 4c49a5e5aaae2db34de58efde99891b1195d7316 on A:master.