remove connect export in favor of single function

Since connect was the only function exported, we can just export the
function directly to make things simpler.
This commit is contained in:
Roman Shtylman
2014-02-13 23:51:29 -05:00
parent d9bc11b520
commit fbfc923a7e
3 changed files with 8 additions and 6 deletions

View File

@@ -21,7 +21,7 @@ test('setup local http server', function(done) {
});
test('setup localtunnel client', function(done) {
var client = localtunnel.connect({
var client = localtunnel({
port: test._fake_port
});
@@ -67,7 +67,7 @@ test('query localtunnel server w/ ident', function(done) {
});
test('request specific domain', function(done) {
var client = localtunnel.connect({
var client = localtunnel({
port: test._fake_port,
subdomain: 'abcd'
});