mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
[fix] minor typo
This commit is contained in:
parent
5e130de854
commit
5d66ce11bb
@ -122,7 +122,7 @@ describe('lib/http-proxy.js', function() {
|
|||||||
proxy.on('error', function (err) {
|
proxy.on('error', function (err) {
|
||||||
expect(err).to.be.an(Error);
|
expect(err).to.be.an(Error);
|
||||||
expect(err.code).to.be('ECONNREFUSED');
|
expect(err.code).to.be('ECONNREFUSED');
|
||||||
proxyServer._server.close();
|
proxy._server.close();
|
||||||
done();
|
done();
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user