-
Notifications
You must be signed in to change notification settings - Fork 462
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tests for the asyncItems argument to Array.fromAsync. #3754
Conversation
faeae2e
to
a53a7ba
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
test/built-ins/Array/fromAsync/asyncitems-asynciterator-sync.js
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will review your other comments later
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks.
Optionally, consider adding a comment like // See explanation in asyncitems-array-add-to-empty.js
to the other tests that rely on the first next()
call having happened by the time we await the promise, like in asyncitems-array-add-to-singleton.js
?
Co-authored-by: Philip Chimento <pchimento@igalia.com>
Depends on #3724 (RFC) and #3728.