fix: correct contradictory test name (Greptile review)
The test verifies that cooldownUntil IS cleared when it equals exactly `now` (>= comparison), but the test name said "does not clear". Fixed the name to match the actual assertion behavior.
This commit is contained in:
parent
03cadc4b7a
commit
250896cf6e
@ -219,7 +219,7 @@ describe("clearExpiredCooldowns", () => {
|
||||
expect(store.usageStats?.["anthropic:default"]?.errorCount).toBe(0);
|
||||
});
|
||||
|
||||
it("does not clear cooldownUntil that equals exactly `now`", () => {
|
||||
it("clears cooldownUntil that equals exactly `now`", () => {
|
||||
const fixedNow = 1_700_000_000_000;
|
||||
const store = makeStore({
|
||||
"anthropic:default": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user