fix handling of new requests for generated client id

This commit is contained in:
Roman Shtylman
2013-12-21 10:45:19 -05:00
parent 74ce55f5ef
commit e08ee1edbb
2 changed files with 3 additions and 3 deletions

View File

@@ -31,6 +31,7 @@ test('setup local http server', function(done) {
});
test('setup localtunnel client', function(done) {
var client = localtunnel_client.connect({
host: 'http://localhost:' + lt_server_port,
port: test._fake_port
@@ -43,7 +44,7 @@ test('setup localtunnel client', function(done) {
});
client.on('error', function(err) {
console.error(err);
done(err);
});
});
@@ -99,4 +100,3 @@ test('request specific domain', function(done) {
test('shutdown', function() {
localtunnel_server.close();
});