[PR #5898] test: no hanging promise #14553

Closed
opened 2026-04-13 09:31:37 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/better-auth/better-auth/pull/5898

State: closed
Merged: Yes


Fixes: https://github.com/better-auth/better-auth/actions/runs/19255020378/job/55047819906?pr=5891


Summary by cubic

Added await to auth.api.setActiveOrganization in organization.test to prevent a hanging promise. Stabilizes the “get active member” test and fixes the failing CI run.

Written for commit 9a2bae590f. Summary will update automatically on new commits.

**Original Pull Request:** https://github.com/better-auth/better-auth/pull/5898 **State:** closed **Merged:** Yes --- Fixes: https://github.com/better-auth/better-auth/actions/runs/19255020378/job/55047819906?pr=5891 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Added await to auth.api.setActiveOrganization in organization.test to prevent a hanging promise. Stabilizes the “get active member” test and fixes the failing CI run. <sup>Written for commit 9a2bae590f30346e514981814da0a68b05c7d33f. Summary will update automatically on new commits.</sup> <!-- End of auto-generated description by cubic. -->
GiteaMirror added the pull-request label 2026-04-13 09:31:37 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#14553