-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It turns out that test_driver.bless already creates a button, so there's no point in creating our own button as well. Next, test_driver.bless already returns a promise, so we can just use that instead of creating our own around it. Finally, all of the tests unconditionally await the wrapped promise that we return, so we should just take advantage of promise auto-flattening instead. Change-Id: Ib6f36ac6bbecddf247282f31c10eae4af07d8f1e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4017034 Reviewed-by: Johann Hofmann <[email protected]> Commit-Queue: Johann Hofmann <[email protected]> Auto-Submit: Chris Fredrickson <[email protected]> Cr-Commit-Position: refs/heads/main@{#1069808}
- Loading branch information
Showing
3 changed files
with
6 additions
and
41 deletions.
There are no files selected for viewing
This file contains 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 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 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