diff --git a/test/test.reconnect.ts b/test/test.reconnect.ts index 765c3f5..671809f 100644 --- a/test/test.reconnect.ts +++ b/test/test.reconnect.ts @@ -132,7 +132,7 @@ tap.test('should be able to switch to a new server', async (toolsArg) => { }); tap.test('should be able to locate a connection tag after reconnect', async (tools) => { - console.log(testSmartsocket.socketConnections.getArray().length); + expect(testSmartsocket.socketConnections.getArray().length).to.equal(1); const tagOnServerSide = await testSmartsocket.socketConnections .findSync((socketConnection) => { return true;