mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
[tests] tests fixed
This commit is contained in:
parent
02df9a33c5
commit
d60353f80b
@ -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();
|
||||
});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user