Add Rust-level tests for Promise.all and Promise.any#4882
Merged
jedel1043 merged 1 commit intoboa-dev:mainfrom Mar 6, 2026
Merged
Add Rust-level tests for Promise.all and Promise.any#4882jedel1043 merged 1 commit intoboa-dev:mainfrom
jedel1043 merged 1 commit intoboa-dev:mainfrom
Conversation
Signed-off-by: mrhapile <allinonegaming3456@gmail.com>
Test262 conformance changes
Tested main commit: |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4882 +/- ##
===========================================
+ Coverage 47.24% 57.39% +10.14%
===========================================
Files 476 555 +79
Lines 46892 60599 +13707
===========================================
+ Hits 22154 34778 +12624
- Misses 24738 25821 +1083 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds Rust-level unit tests for Promise combinators.
Currently
core/engine/src/builtins/promise/tests.rsonly contains abasic Promise test and does not cover combinators such as
Promise.allor
Promise.any.While these behaviors are validated through test262, localized Rust
tests improve debugging, provide faster CI feedback, and help prevent
regressions when modifying the Promise implementation.
This PR introduces tests for:
No runtime behavior is modified. This change only adds tests.