Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

chore: fix flaky test #3680

Merged
merged 1 commit into from
May 10, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions packages/ipfs-http-client/test/node/agent.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,16 @@ describe('agent', function () {
}

const results = await requests

expect(results).to.deep.equal([{
expect(results).to.have.lengthOf(3)
expect(results).to.deep.include({
res: 0
}, {
})
expect(results).to.deep.include({
res: 1
}, {
})
expect(results).to.deep.include({
res: 2
}])
})

server.close()
})
Expand Down