[tests] fixing minor typos

This commit is contained in:
cronopio 2013-10-09 11:04:41 -05:00
parent c9f5772fc1
commit b333e63648
2 changed files with 2 additions and 2 deletions

View File

@ -39,6 +39,6 @@ proxy.createProxyServer = proxy.createServer = function createProxyServer(option
].join("\n"));
} */
return new ProxyServer(options);
return new httpProxy.Server(options);
};

View File

@ -91,7 +91,7 @@ function ProxyServer(options) {
EE3.call(this);
this.web = createRightProxy('web')(options);
this.ws = reateRightProxy('ws')(options);
this.ws = createRightProxy('ws')(options);
this.options = options;
this.passes = Object.keys(passes).map(function(pass) {