[PR #8755] [MERGED] test: use fake timers in JWT max age expiry test case to prevent flaky failure #25092

Closed
opened 2026-04-15 22:43:20 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/8755
Author: @bytaesu
Created: 3/24/2026
Status: Merged
Merged: 3/24/2026
Merged by: @bytaesu

Base: canaryHead: 2026-03-24/test/flaky-jwt-max-age-expiry


📝 Commits (1)

  • efbe66e test: use fake timers in JWT max age expiry test case to prevent flaky failure

📊 Changes

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

View changed files

📝 packages/better-auth/src/api/routes/session-api.test.ts (+5 -2)

📄 Description

No description provided


🔄 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/8755 **Author:** [@bytaesu](https://github.com/bytaesu) **Created:** 3/24/2026 **Status:** ✅ Merged **Merged:** 3/24/2026 **Merged by:** [@bytaesu](https://github.com/bytaesu) **Base:** `canary` ← **Head:** `2026-03-24/test/flaky-jwt-max-age-expiry` --- ### 📝 Commits (1) - [`efbe66e`](https://github.com/better-auth/better-auth/commit/efbe66e3d9ffb0fbaae011949ceca87289597367) test: use fake timers in JWT max age expiry test case to prevent flaky failure ### 📊 Changes **1 file changed** (+5 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/api/routes/session-api.test.ts` (+5 -2) </details> ### 📄 Description _No description provided_ --- <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-15 22:43:20 -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#25092