Skip to content

Commit

Permalink
fix: flakey identify test firefox (#774)
Browse files Browse the repository at this point in the history
  • Loading branch information
vasco-santos authored Oct 6, 2020
1 parent 96df4b7 commit 60d437f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/identify/index.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ describe('Identify', () => {
expect(libp2p.identifyService.identify.callCount).to.equal(1)

// The connection should have no open streams
expect(connection.streams).to.have.length(0)
await pWaitFor(() => connection.streams.length === 0)
await connection.close()
})

Expand Down

0 comments on commit 60d437f

Please sign in to comment.