[PR #6113] [CLOSED] test: update vitest config #6454

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6113
Author: @himself65
Created: 11/19/2025
Status: Closed

Base: canaryHead: himself65/2025/11/19/config-vitest


📝 Commits (1)

  • 005fde8 test: update vitest config

📊 Changes

5 files changed (+7 additions, -72 deletions)

View changed files

.github/workflows/adapter-tests.yml (+0 -67)
📝 package.json (+1 -1)
📝 packages/better-auth/vitest.config.adapters.ts (+1 -0)
📝 turbo.json (+0 -3)
📝 vitest.config.ts (+5 -1)

📄 Description

Summary by cubic

Shifted the repo to a unified Vitest setup with a dedicated adapter test project. Simplifies local testing and CI by running all tests via Vitest and removing the old adapter test workflow.

  • Refactors

    • package.json: “test” now runs vitest directly.
    • vitest.config.ts: added the adapters project config to the projects list.
    • packages/better-auth/vitest.config.adapters.ts: named the project “better-auth-adapter”.
    • turbo.json: removed the test dependsOn build entry.
    • Removed .github/workflows/adapter-tests.yml.
  • Migration

    • Use pnpm test to run all tests.
    • Adapter tests are included as the “better-auth-adapter” Vitest project.

Written for commit 005fde8bc3. 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/6113 **Author:** [@himself65](https://github.com/himself65) **Created:** 11/19/2025 **Status:** ❌ Closed **Base:** `canary` ← **Head:** `himself65/2025/11/19/config-vitest` --- ### 📝 Commits (1) - [`005fde8`](https://github.com/better-auth/better-auth/commit/005fde8bc3e23d1c58d7a222225ee5ba0609fa4e) test: update vitest config ### 📊 Changes **5 files changed** (+7 additions, -72 deletions) <details> <summary>View changed files</summary> ➖ `.github/workflows/adapter-tests.yml` (+0 -67) 📝 `package.json` (+1 -1) 📝 `packages/better-auth/vitest.config.adapters.ts` (+1 -0) 📝 `turbo.json` (+0 -3) 📝 `vitest.config.ts` (+5 -1) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Shifted the repo to a unified Vitest setup with a dedicated adapter test project. Simplifies local testing and CI by running all tests via Vitest and removing the old adapter test workflow. - **Refactors** - package.json: “test” now runs vitest directly. - vitest.config.ts: added the adapters project config to the projects list. - packages/better-auth/vitest.config.adapters.ts: named the project “better-auth-adapter”. - turbo.json: removed the test dependsOn build entry. - Removed .github/workflows/adapter-tests.yml. - **Migration** - Use pnpm test to run all tests. - Adapter tests are included as the “better-auth-adapter” Vitest project. <sup>Written for commit 005fde8bc3e23d1c58d7a222225ee5ba0609fa4e. 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:59:53 -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#6454