-
Notifications
You must be signed in to change notification settings - Fork 111
Open
Description
Hello,
I see the following paragraph in the test suite docs:
Note that the tests will never pass a promise or a thenable as a resolution. That means that we never use the promise- or thenable-accepting forms of the resolve operation directly, and instead only use the direct fulfillment operation, since fulfill and resolve are equivalent when not given a thenable.
What is the intended behaviour, though, when a promise is given directly to deferred.resolve()? Should the original promise’s resolution be that of the “subpromise”, or should the subpromise itself be the original promise’s resolution?
Thank you!
Metadata
Metadata
Assignees
Labels
No labels