[PR #5581] [MERGED] test: add type test for organization plugin #14345

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/5581
Author: @himself65
Created: 10/25/2025
Status: Merged
Merged: 10/29/2025
Merged by: @himself65

Base: canaryHead: himself65/2025/10/25/org-type


📝 Commits (1)

  • da7bc39 test: add type test for organization plugin

📊 Changes

5 files changed (+19 additions, -4 deletions)

View changed files

📝 e2e/smoke/test/fixtures/tsconfig-exact-optional-property-types/src/organization.ts (+5 -1)
e2e/smoke/test/fixtures/tsconfig-isolated-module-bundler/src/organization.ts (+6 -0)
📝 e2e/smoke/test/fixtures/tsconfig-isolated-module-bundler/tsconfig.json (+2 -1)
e2e/smoke/test/fixtures/tsconfig-verbatim-module-syntax-node10/src/organization.ts (+6 -0)
📝 e2e/smoke/test/fixtures/tsconfig-verbatim-module-syntax-node10/tsconfig.json (+0 -2)

📄 Description

Summary by cubic

Add type-safety tests for the organization plugin across multiple TS configs to ensure it compiles under strict and bundler settings. Tweaked fixtures to export auth instances (and add a second empty-config auth), added test files for isolated-module-bundler and verbatim-module-syntax (Node 10), set outDir for bundler, and removed unused JSX options.


🔄 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/5581 **Author:** [@himself65](https://github.com/himself65) **Created:** 10/25/2025 **Status:** ✅ Merged **Merged:** 10/29/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `himself65/2025/10/25/org-type` --- ### 📝 Commits (1) - [`da7bc39`](https://github.com/better-auth/better-auth/commit/da7bc39614cac7ea68fdce2829b87c80575ddbef) test: add type test for organization plugin ### 📊 Changes **5 files changed** (+19 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `e2e/smoke/test/fixtures/tsconfig-exact-optional-property-types/src/organization.ts` (+5 -1) ➕ `e2e/smoke/test/fixtures/tsconfig-isolated-module-bundler/src/organization.ts` (+6 -0) 📝 `e2e/smoke/test/fixtures/tsconfig-isolated-module-bundler/tsconfig.json` (+2 -1) ➕ `e2e/smoke/test/fixtures/tsconfig-verbatim-module-syntax-node10/src/organization.ts` (+6 -0) 📝 `e2e/smoke/test/fixtures/tsconfig-verbatim-module-syntax-node10/tsconfig.json` (+0 -2) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Add type-safety tests for the organization plugin across multiple TS configs to ensure it compiles under strict and bundler settings. Tweaked fixtures to export auth instances (and add a second empty-config auth), added test files for isolated-module-bundler and verbatim-module-syntax (Node 10), set outDir for bundler, and removed unused JSX options. <!-- 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-04-13 09:25:47 -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#14345