You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(test): enhance rate limit test accuracy and mock integrity
- Updated mock database logic to prevent object mutations during UPDATE operations
- Ensured SELECT queries return copies of data to simulate snapshot behavior
- Refined test expectations for exact remaining counts instead of loose bounds
- Added clarifying comments to rate limit test steps for better readability
These changes improve the test's fidelity to actual database behavior, reducing potential flakiness and ensuring precise validation of rate limiting logic.
0 commit comments