Skip to content

Commit 3c72aa6

Browse files
authoredNov 19, 2024··
chore: update error message check (#2830)
The latest version of chrome changes the error message thrown from `signal.throwIfAborted`
1 parent 4d59c80 commit 3c72aa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/transport-webrtc/test/peer.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ describe('webrtc basic', () => {
155155
}),
156156
handleIncomingStream(recipient)
157157
]))
158-
.to.eventually.be.rejected.with.property('message', 'Oh noes!')
158+
.to.eventually.be.rejected.with.property('message').that.matches(/Oh noes!/)
159159
})
160160
})
161161

0 commit comments

Comments
 (0)
Please sign in to comment.