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:
nabbilkhan
2026-02-16 07:37:04 +00:00
committed by Shadow
parent 03cadc4b7a
commit 250896cf6e

View File

@@ -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": {