Skip to content

Commit d60353f

Browse files
committed
[tests] tests fixed
1 parent 02df9a3 commit d60353f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/lib-http-proxy-test.js

+2
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,8 @@ describe('lib/http-proxy.js', function() {
161161
testReq.on('error', function (e) {
162162
expect(e).to.be.an(Error);
163163
expect(e.code).to.be.eql('ECONNRESET');
164+
proxy._server.close();
165+
source.close();
164166
done();
165167
});
166168

0 commit comments

Comments
 (0)