[PR #5898] [MERGED] test: no hanging promise #6306

Closed
opened 2026-03-13 12:54:14 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/5898
Author: @himself65
Created: 11/11/2025
Status: Merged
Merged: 11/11/2025
Merged by: @himself65

Base: canaryHead: himself65/2025/11/10/test


📝 Commits (1)

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 packages/better-auth/src/plugins/organization/organization.test.ts (+1 -1)

📄 Description

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.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/5898 **Author:** [@himself65](https://github.com/himself65) **Created:** 11/11/2025 **Status:** ✅ Merged **Merged:** 11/11/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `himself65/2025/11/10/test` --- ### 📝 Commits (1) - [`9a2bae5`](https://github.com/better-auth/better-auth/commit/9a2bae590f30346e514981814da0a68b05c7d33f) test: no hanging promise ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/plugins/organization/organization.test.ts` (+1 -1) </details> ### 📄 Description 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. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 12:54:14 -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#6306