[tests] tests fixed

This commit is contained in:
cronopio 2013-10-21 23:22:59 -05:00
parent 02df9a33c5
commit d60353f80b

View File

@ -161,6 +161,8 @@ describe('lib/http-proxy.js', function() {
testReq.on('error', function (e) {
expect(e).to.be.an(Error);
expect(e.code).to.be.eql('ECONNRESET');
proxy._server.close();
source.close();
done();
});