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
describe('when iterating',()=>{
let iterator: AsyncIterableIterator<number>;
let values: number[];beforeEach(async()=>{fn.mockImplementationOnce(()=>[1,2,3].values());iterator=rpc.withOptions({signal: abortController.signal})({hello: 'World!'});values=[];forawait(constvalueofiterator){values.push(value);break;}});test('should throw on iterator?',()=>{});});
Coding sandbox URL
No response
Console errors
No response
Screenshots
No response
Additional context
What should happen when calling next() after break (which probably called return())?
The text was updated successfully, but these errors were encountered:
Version
Latest development (@main)
Module resolution
Others or unrelated
Bundler
Others or unrelated
Environment
Others or unrelated
Test case
Coding sandbox URL
No response
Console errors
No response
Screenshots
No response
Additional context
What should happen when calling
next()
after break (which probably calledreturn()
)?The text was updated successfully, but these errors were encountered: