diff --git a/package.json b/package.json index 381971d..b379a50 100644 --- a/package.json +++ b/package.json @@ -41,4 +41,4 @@ "npmextra.json", "readme.md" ] -} +} \ No newline at end of file diff --git a/test/test.ts b/test/test.ts index 7a5074e..aa0a7c5 100644 --- a/test/test.ts +++ b/test/test.ts @@ -3,10 +3,6 @@ import * as smartproxy from '../ts/index'; let testProxy: smartproxy.SmartProxy; -if (process.env.CI) { - process.exit(0); -} - tap.test('first test', async () => { testProxy = new smartproxy.SmartProxy(); }); diff --git a/ts/smartproxy.classes.proxyworker.ts b/ts/smartproxy.classes.proxyworker.ts index 154d523..d9cfd90 100644 --- a/ts/smartproxy.classes.proxyworker.ts +++ b/ts/smartproxy.classes.proxyworker.ts @@ -44,7 +44,7 @@ export class ProxyWorker { const wss = new plugins.ws.Server({ server: this.httpsServer }); wss.on('connection', function connection(ws) { const wscConnected = plugins.smartpromise.defer(); - + const wsc = new Websocket.default(`${ws.url}`); wsc.on('open', () => { wscConnected.resolve();