Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

Update rate-limiter.test.ts

Nicolas547da88ccd83
diff --git a/apps/api/src/services/rate-limiter.test.ts b/apps/api/src/services/rate-limiter.test.ts
index e1c81e089..3e2523016 100644
--- a/apps/api/src/services/rate-limiter.test.ts
+++ b/apps/api/src/services/rate-limiter.test.ts
@@ -79,7 +79,7 @@ describe("Rate Limiter Service", () => {
"test-prefix:someToken",
"growth"
);
- expect(limiter4.points).toBe(150);
+ expect(limiter4.points).toBe(250);
});
it("should return the default rate limiter if plan is not provided", () => {
@@ -153,7 +153,7 @@ describe("Rate Limiter Service", () => {
"crawlStatus" as RateLimiterMode,
"test-prefix:someToken"
);
- expect(limiter2.points).toBe(150);
+ expect(limiter2.points).toBe(250);
});
it("should consume points correctly for 'crawl' mode", async () => {
@@ -315,7 +315,7 @@ describe("Rate Limiter Service", () => {
"crawlStatus" as RateLimiterMode,
"test-prefix:someToken"
);
- expect(limiter2.points).toBe(150);
+ expect(limiter2.points).toBe(250);
});
it("should return the correct rate limiter for 'testSuite' mode", () => {