Update retry.test.ts

This commit is contained in:
Patrick Erichsen 2025-07-25 14:23:02 -07:00
parent b0ba23d699
commit eca333fde5

View file

@ -450,8 +450,8 @@ describe("Retry Functionality", () => {
expect(result).toBe("success");
// Should be capped at maxDelay (200ms) not header value (10000ms)
expect(delays[0]).toBeGreaterThan(190);
expect(delays[0]).toBeLessThan(210);
expect(delays[0]).toBeGreaterThanOrEqual(190);
expect(delays[0]).toBeLessThanOrEqual(200);
});
it("should handle case-insensitive header names", async () => {