A / superagent-mocker

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

Pass the name of HTTP method to mocking callback #48

Closed maxkoryukov closed 7 years ago

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 9483b796d7331c917793da96bcabfb0ffa82bbdd on maxkoryukov:feature/method-in-req into e95095d0665fb2e218fba7bc60587d68d8cb53a8 on A:master.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 9d593323bd06f27616ecba14c034c88b154601dd on maxkoryukov:feature/method-in-req into e95095d0665fb2e218fba7bc60587d68d8cb53a8 on A:master.

tbranyen commented 7 years ago

No unit test for this? How is it used?

maxkoryukov commented 7 years ago

@tbranyen , you are right, no need to include this into upstream. I have a very convenient mocks function for this;) Just publish 0.5.3 on npm, please, we are wating...

A commented 7 years ago

Sorry guys, I just missed status of the PR)

maxkoryukov commented 7 years ago

I have revoked this PR - this amendments are useful only for my old approach, not for everyone..

@A, plz, better look at #47 - it is already merged, but the latest NPM version is 0.5.2 - without fixes