Skip to content

Commit b333e63

Browse files
committed
[tests] fixing minor typos
1 parent c9f5772 commit b333e63

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/http-proxy.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ proxy.createProxyServer = proxy.createServer = function createProxyServer(option
3939
].join("\n"));
4040
} */
4141

42-
return new ProxyServer(options);
42+
return new httpProxy.Server(options);
4343
};
4444

lib/http-proxy/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function ProxyServer(options) {
9191
EE3.call(this);
9292

9393
this.web = createRightProxy('web')(options);
94-
this.ws = reateRightProxy('ws')(options);
94+
this.ws = createRightProxy('ws')(options);
9595
this.options = options;
9696

9797
this.passes = Object.keys(passes).map(function(pass) {

0 commit comments

Comments
 (0)