Skip to content

Commit 0141b2f

Browse files
committed
chore: tests
1 parent 1ca7be6 commit 0141b2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/libp2p/test/upgrading/upgrader.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ describe('upgrader', () => {
227227
await expect(upgrader.upgradeInbound(inbound, {
228228
signal: AbortSignal.timeout(5_000)
229229
})).to.eventually.be.rejected
230-
.with.property('message').that.include('aborted')
230+
.with.property('name').that.include('TimeoutError')
231231
})
232232

233233
it('should abort by signal if inbound upgrade is slow', async () => {

0 commit comments

Comments
 (0)