[PR #5937] [MERGED] test: move oauth.spec.ts to top level #6334

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

📋 Pull Request Information

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

Base: canaryHead: himself65/2025/11/12/move


📝 Commits (1)

  • 3f3f042 test: move oauth.spec.ts to top level

📊 Changes

3 files changed (+25 additions, -20 deletions)

View changed files

📝 pnpm-lock.yaml (+19 -16)
📝 test/package.json (+1 -0)
📝 test/unit/oauth/index.spec.ts (+5 -4)

📄 Description

Summary by cubic

Moved the OAuth test to the top-level suite and switched it to public better-auth APIs. Added msw and a local DEFAULT_SECRET passed to getTestInstance so the test is self-contained and decoupled from internal src.

Written for commit 3f3f042241. 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/5937 **Author:** [@himself65](https://github.com/himself65) **Created:** 11/12/2025 **Status:** ✅ Merged **Merged:** 11/12/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `himself65/2025/11/12/move` --- ### 📝 Commits (1) - [`3f3f042`](https://github.com/better-auth/better-auth/commit/3f3f042241294e099bca0bb836870b587d56714e) test: move oauth.spec.ts to top level ### 📊 Changes **3 files changed** (+25 additions, -20 deletions) <details> <summary>View changed files</summary> 📝 `pnpm-lock.yaml` (+19 -16) 📝 `test/package.json` (+1 -0) 📝 `test/unit/oauth/index.spec.ts` (+5 -4) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Moved the OAuth test to the top-level suite and switched it to public better-auth APIs. Added msw and a local DEFAULT_SECRET passed to getTestInstance so the test is self-contained and decoupled from internal src. <sup>Written for commit 3f3f042241294e099bca0bb836870b587d56714e. 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:55:12 -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#6334