Skip to content

fix(tests): "rejected promise not handled" #7403

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

Merged
merged 1 commit into from
May 30, 2025

Conversation

justinmk3
Copy link
Contributor

Problem:

rejected promise not handled within 1 second:
Error: command 'aws.amazonq.focusChat' not found

Solution:

Don't use void to ignore rejected promises.


  • Treat all work as PUBLIC. Private feature/x branches will not be squash-merged at release time.
  • Your code changes must meet the guidelines in CONTRIBUTING.md.
  • License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

Problem:

    rejected promise not handled within 1 second:
    Error: command 'aws.amazonq.focusChat' not found

Solution:
Don't use `void` to ignore rejected promises.
@justinmk3 justinmk3 requested review from a team as code owners May 29, 2025 19:32

This comment was marked as off-topic.

@justinmk3 justinmk3 changed the title fix: "rejected promise not handled" fix(tests): "rejected promise not handled" May 29, 2025
@justinmk3 justinmk3 closed this May 29, 2025
@justinmk3 justinmk3 reopened this May 29, 2025
@leigaol leigaol merged commit 9b13c5f into aws:master May 30, 2025
36 of 38 checks passed
@justinmk3 justinmk3 deleted the fixunhandledrejection branch May 30, 2025 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants