Closed steebchen closed 7 years ago
Thanks, @steebchen—looking forward to getting this merged up! For others' reference, could you link up the bug in question (or add a regression test to show the fix)?
I don't have a code example since I used it in a big project, but upgrading to this version fixed the bug when returning multiple promises in chained .then()s. The warning which gets printed says "superagent: double callback bug. Upgrade to v3.2+ to fix this". I know that supertest^2 doesn't come with superagent^3.2, but the warning disappeared so I think that another code change fixed that. Not the best explanation, I know, but the upgrade did fix the warning for me.
Got it, and good to keep the dependencies updated in any case! Thanks again for taking care of this, @steebchen.
Published to npm as version 3.0.0.
Upgrade to a newer version of supertest to fix double callback bug when using promises.