Skip to content
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

fix(test): await promise and check error #1563

Merged
merged 1 commit into from
Oct 14, 2024
Merged

Conversation

fforbeck
Copy link
Contributor

Resolve ESLint Promise Handling Error

Fixed the ESLint error by using assert.rejects to handle the promise returned by deviceCheater.setCurrentSpace. This ensures that the promise is properly managed and the test checks for expected rejections, addressing the ESLint rule that requires promises to be awaited, handled with .catch, or explicitly ignored.

@fforbeck fforbeck merged commit 86e7a46 into main Oct 14, 2024
3 checks passed
@fforbeck fforbeck deleted the fix/access-client-agent-test branch October 14, 2024 18:05
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