You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this still a problem? I've refactored the first test to not have any node-specific code and it passes:
importallfrom'it-all'importdelayfrom'delay'import{abortableSource}from'abortable-source'import{expect}from'aegir/chai'it('should return with an empty source',async()=>{constabortController=newAbortController();constsource=abortableSource(asyncfunction*(){awaitdelay(1000)yield'foo'}(),abortController.signal,{returnOnAbort: true,})setTimeout(()=>{abortController.abort()},0)// should be empty since the signal was aborted before any value was yieldedconstresult=awaitall(source)expect(result).to.have.lengthOf(0)})
The first test times out and the second passes:
The text was updated successfully, but these errors were encountered: