Repository navigation
bun:test: wait on a Promise subclass through its own then() #41008
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
Open
robobun
wants to merge
25
commits into
robobun/871123bb/await-through-engine
Choose a base branch
from
robobun/871123bb/test-callback-thenable
base: robobun/871123bb/await-through-engine
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+377
−26
Open
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
738982f
bun:test: await a thenable or lazy Promise subclass returned from a t…
robobun 603a03d
bun:test: gate the awaitable on PromiseResolve, not on the then watch…
robobun 674cb28
bun:test: shorten the awaitable comments
robobun afa2a9f
bun:test: trim the awaitable doc comment
robobun e05f55a
bun:test: one-line doc for JSPromise::awaitable
robobun 6b1f88d
bun:test: assert the PromiseResolve result is non-null without an exc…
robobun 3c0af86
Merge branch 'main' into robobun/871123bb/test-callback-thenable
robobun 7cc1b52
bun:test: wait on a returned thenable or Promise subclass through its…
robobun 8aebfc9
[autofix.ci] apply automated fixes
autofix-ci[bot] d1d9d65
bun:test: one line for each comment of the awaitable change
robobun 642e339
Merge branch 'main' into robobun/871123bb/test-callback-thenable
robobun c915a83
Merge branch 'main' into robobun/871123bb/test-callback-thenable
robobun 8816fec
Merge branch 'main' into robobun/871123bb/test-callback-thenable
robobun 5f8148b
bun:test: wait on a returned Promise subclass through its own then()
robobun 28585bc
bun:test: do not call then() on what a callback with a done parameter…
robobun 45e459b
Merge branch 'robobun/871123bb/done-callback-no-then' into robobun/87…
robobun 3d8bd2c
test: keep one done test, with a Promise subclass row
robobun bf1c3ff
Merge branch 'robobun/871123bb/done-callback-no-then' into robobun/87…
robobun b9a1bfc
bun:test: .resolves and .rejects wait on a settled Promise subclass t…
robobun 6cebe7f
test: the two failing matchers assert their message and the then() calls
robobun 4378abd
test: an un-awaited matcher and expect.poll() wait on a settled Promi…
robobun bd96563
bun:test: say which settled promise .resolves checks at once, and pin…
robobun 5e05545
test: the turn of then() has a thenable row and a Promise subclass row
robobun a17b12a
Merge branch 'robobun/871123bb/thenable-before-drain' into robobun/87…
robobun 69b9008
Merge branch 'robobun/871123bb/await-through-engine' into robobun/871…
robobun File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.