Skip to content

Commit 1c0a121

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

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('name').that.include('TimeoutError')
230+
.with.property('message').that.include('signal timed out')
231231
})
232232

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

0 commit comments

Comments
 (0)