File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/libp2p/test/core Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -229,7 +229,7 @@ describe('random-walk', () => {
229229 await expect ( drain ( randomWalk . walk ( {
230230 signal : AbortSignal . timeout ( 10 )
231231 } ) ) ) . to . eventually . be . rejected
232- . with . property ( 'name' , 'AbortError ' )
232+ . with . property ( 'name' , 'TimeoutError ' )
233233 } )
234234
235235 it ( 'should allow an impatient consumer to abort a slow query but other consumers to receive values' , async ( ) => {
@@ -252,7 +252,7 @@ describe('random-walk', () => {
252252 ] )
253253
254254 expect ( results ) . to . have . nested . property ( '[0].status' , 'rejected' )
255- expect ( results ) . to . have . nested . property ( '[0].reason.name' , 'AbortError ' )
255+ expect ( results ) . to . have . nested . property ( '[0].reason.name' , 'TimeoutError ' )
256256
257257 expect ( results ) . to . have . nested . property ( '[1].status' , 'fulfilled' )
258258 expect ( results ) . to . have . nested . property ( '[1].value' ) . with . lengthOf ( 2 )
You can’t perform that action at this time.
0 commit comments