Skip to content

Commit

Permalink
chore: fix event order
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed Nov 15, 2024
1 parent 16c26db commit f605e9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/integration-tests/test/circuit-relay.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -519,8 +519,8 @@ describe('circuit-relay', () => {
await deferred.promise

// should have closed connections to remote and to relay
expect(events[0].detail.remotePeer.toString()).to.equal(relay1.peerId.toString())
expect(events[1].detail.remotePeer.toString()).to.equal(remote.peerId.toString())
expect(events[0].detail.remotePeer.toString()).to.equal(remote.peerId.toString())
expect(events[1].detail.remotePeer.toString()).to.equal(relay1.peerId.toString())
})

it('should mark an outgoing relayed connection as limited', async () => {
Expand Down

0 comments on commit f605e9b

Please sign in to comment.