[PR #3109] [CLOSED] Fix rate-limiter test timers #4651

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/3109
Author: @Bekacru
Created: 6/20/2025
Status: Closed

Base: mainHead: codex/add-aftereach-for-timer-reset-in-tests


📝 Commits (2)

📊 Changes

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

View changed files

📝 packages/better-auth/src/api/rate-limiter/rate-limiter.test.ts (+5 -1)

📄 Description

Summary

  • reset vitest timers after each rate limiter test

Testing

  • pnpm test (fails: Test run cancelled. Watching for file changes...)

https://chatgpt.com/codex/tasks/task_e_6855b3eddf30832ba8f6125f690b9abe


🔄 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/3109 **Author:** [@Bekacru](https://github.com/Bekacru) **Created:** 6/20/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `codex/add-aftereach-for-timer-reset-in-tests` --- ### 📝 Commits (2) - [`174194c`](https://github.com/better-auth/better-auth/commit/174194c94664b5fb901ed67f277ec42d9d895db2) test: reset vitest timers - [`2ae5aca`](https://github.com/better-auth/better-auth/commit/2ae5aca8769e4e3a774b9ec305f5750a4dd414a4) chore: lint ### 📊 Changes **1 file changed** (+5 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/api/rate-limiter/rate-limiter.test.ts` (+5 -1) </details> ### 📄 Description ## Summary - reset vitest timers after each rate limiter test ## Testing - `pnpm test` *(fails: Test run cancelled. Watching for file changes...)* ------ https://chatgpt.com/codex/tasks/task_e_6855b3eddf30832ba8f6125f690b9abe --- <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 11:54:07 -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#4651