A / superagent-mocker

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

Call callback only once (even on error) #47

Closed maxkoryukov closed 7 years ago

maxkoryukov commented 7 years ago

fix A/superagent-mocker#46

based on blogpost: http://joseoncode.com/2013/12/27/case-of-double-callbacks/

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 7b6ea37fb67526deabad3c49f88ac2a3c683c209 on maxkoryukov:fix/callback-doublecall into e95095d0665fb2e218fba7bc60587d68d8cb53a8 on A:master.

tbranyen commented 7 years ago

Looks good to me!

tbranyen commented 7 years ago

Thanks for the fix @maxkoryukov

maxkoryukov commented 7 years ago

@tbranyen , plz, tell me, when the package on NPM will be updated? I want to switch from git-dependency to NPM-dep (you know - it is much more convenient)

tbranyen commented 7 years ago

I understand, I'll try and push it out tomorrow.

maxkoryukov commented 7 years ago

@tbranyen , NPM still keeping 0.5.2... :cry:

maxkoryukov commented 7 years ago

@tbranyen , LOOK MA)) still 0.5.2 :open_hands:

maxkoryukov commented 7 years ago

Hello :walking_man: Are there anybody out there;) @tbranyen , plz upgrade NPM