visionmedia/supertest — pull request #137 by benesch (2014-05-19 04:37:04+00:00)
Title: .end: wait for server to close before invoking callback

If a server was spawned, wait for it to close before invoking .end's
callback. This allows the callback to launch another request against the
same supertest object without receiving a connection error.

Fixes #126.