diff --git a/packages/core/tests/postgres.test.ts b/packages/core/tests/postgres.test.ts index a7c5796f73..086aedb417 100644 --- a/packages/core/tests/postgres.test.ts +++ b/packages/core/tests/postgres.test.ts @@ -74,17 +74,10 @@ describe('postgres agents', () => { // Receive invitation first time with alice agent let { connectionRecord: bobConnectionAtBobAlice } = await bobAgent.oob.receiveInvitationFromUrl(invitationUrl) - bobConnectionAtBobAlice = await aliceAgent.connections.returnWhenIsConnected(bobConnectionAtBobAlice!.id) + bobConnectionAtBobAlice = await bobAgent.connections.returnWhenIsConnected(bobConnectionAtBobAlice!.id) let aliceConnectionAtAliceBob = await aliceAgent.connections.getByThreadId(bobConnectionAtBobAlice.threadId!) aliceConnectionAtAliceBob = await aliceAgent.connections.returnWhenIsConnected(aliceConnectionAtAliceBob.id) - // =========================================================================== - - // const aliceConnectionAtAliceBob = await aliceAgent.connections.createConnection() - // const bobConnectionAtBobAlice = await bobAgent.connections.receiveInvitation(aliceConnectionAtAliceBob.invitation) - - // aliceConnection = await aliceAgent.connections.returnWhenIsConnected(aliceConnectionAtAliceBob.connectionRecord.id) - // bobConnection = await bobAgent.connections.returnWhenIsConnected(bobConnectionAtBobAlice.id) expect(aliceConnectionAtAliceBob).toBeConnectedWith(bobConnectionAtBobAlice) expect(bobConnectionAtBobAlice).toBeConnectedWith(aliceConnectionAtAliceBob)