[Falky] src/db/internal-adapter.test.ts > adapter test > should create on secondary storage #2022

Closed
opened 2026-03-13 09:21:31 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @himself65 on GitHub (Sep 25, 2025).

 FAIL  src/db/internal-adapter.test.ts > adapter test > should create on secondary storage
AssertionError: expected -1 to be greater than or equal to 0
 ❯ src/db/internal-adapter.test.ts:469:55
    467|   const expectedTokenExp = 60 * 60 * 24 * 7;
    468|   expect(expirationMap.get(token) - expectedTokenExp).toBeLessThanOrEq…
    469|   expect(expirationMap.get(token) - expectedTokenExp).toBeGreaterThanO…
Originally created by @himself65 on GitHub (Sep 25, 2025). ``` FAIL src/db/internal-adapter.test.ts > adapter test > should create on secondary storage AssertionError: expected -1 to be greater than or equal to 0 ❯ src/db/internal-adapter.test.ts:469:55 467| const expectedTokenExp = 60 * 60 * 24 * 7; 468| expect(expirationMap.get(token) - expectedTokenExp).toBeLessThanOrEq… 469| expect(expirationMap.get(token) - expectedTokenExp).toBeGreaterThanO… ```
GiteaMirror added the adapterbug labels 2026-03-13 09:21:31 -05:00
Author
Owner
@himself65 commented on GitHub (Sep 25, 2025): https://github.com/better-auth/better-auth/actions/runs/18019989389/job/51274662668?pr=4909
Author
Owner
@himself65 commented on GitHub (Sep 25, 2025): https://github.com/better-auth/better-auth/actions/runs/18019212342/job/51272041290
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#2022