Update index.test.ts
This commit is contained in:
parent
82e0ed4cd3
commit
7b9b668b95
@ -1012,7 +1012,7 @@ describe("E2E Tests for API Routes", () => {
|
|||||||
|
|
||||||
describe("Rate Limiter", () => {
|
describe("Rate Limiter", () => {
|
||||||
it.concurrent("should return 429 when rate limit is exceeded for preview token", async () => {
|
it.concurrent("should return 429 when rate limit is exceeded for preview token", async () => {
|
||||||
for (let i = 0; i < 4; i++) {
|
for (let i = 0; i < 5; i++) {
|
||||||
const response = await request(TEST_URL)
|
const response = await request(TEST_URL)
|
||||||
.post("/v0/scrape")
|
.post("/v0/scrape")
|
||||||
.set("Authorization", `Bearer this_is_just_a_preview_token`)
|
.set("Authorization", `Bearer this_is_just_a_preview_token`)
|
||||||
|
Loading…
Reference in New Issue
Block a user