superagent 0.18.0 requires qs 0.6.6, this has a known vulnerability (https://nodesecurity.io/advisories/qs_dos_extended_event_loop_blocking). superagent 0.19.0 updates qs to 1.2.0, fixing this vulnerability.
The previous behaviour of expect was to throw any returned truthy values as an error, to be passed to the subsequent end callback. This presents problems in coffeescript due to implicit returns, requiring an explicit `return` with a falsy value to prevent triggering a failure. This commit changes this behaviour so that `expect` will only throw the truthy value forward if it is an instance of `Error`. This seems to make move sense anyway, where truthy values don't typically indicate a failure.
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.
…upport for legacy 'del'. Added necessary unit tests.