Skip to content

test: fix unawaited promise in tests#503

Merged
9aoy merged 1 commit intomainfrom
promise-await
Aug 22, 2025
Merged

test: fix unawaited promise in tests#503
9aoy merged 1 commit intomainfrom
promise-await

Conversation

@9aoy
Copy link
Copy Markdown
Collaborator

@9aoy 9aoy commented Aug 22, 2025

Summary

fix unawaited promise in tests.

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copilot AI review requested due to automatic review settings August 22, 2025 09:12
@netlify
Copy link
Copy Markdown

netlify bot commented Aug 22, 2025

Deploy Preview for rstest-dev ready!

Name Link
🔨 Latest commit be9708b
🔍 Latest deploy log https://app.netlify.com/projects/rstest-dev/deploys/68a8347cbe1d4300096f5999
😎 Deploy Preview https://deploy-preview-503--rstest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes unawaited promise issues in test files by adding missing await keywords to promise-based test assertions.

  • Adds await keywords to expect().resolves and expect().rejects assertions
  • Ensures proper asynchronous test execution and prevents potential race conditions

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@9aoy 9aoy merged commit d0bdca6 into main Aug 22, 2025
17 checks passed
@9aoy 9aoy deleted the promise-await branch August 22, 2025 09:24
@9aoy 9aoy mentioned this pull request Aug 27, 2025
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