We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0141b2f commit 1c0a121Copy full SHA for 1c0a121
packages/libp2p/test/upgrading/upgrader.spec.ts
@@ -227,7 +227,7 @@ describe('upgrader', () => {
227
await expect(upgrader.upgradeInbound(inbound, {
228
signal: AbortSignal.timeout(5_000)
229
})).to.eventually.be.rejected
230
- .with.property('name').that.include('TimeoutError')
+ .with.property('message').that.include('signal timed out')
231
})
232
233
it('should abort by signal if inbound upgrade is slow', async () => {
0 commit comments