more timeout

This commit is contained in:
Gergő Móricz 2025-06-03 17:49:20 +02:00
parent d3b6b0da34
commit f03676cf7a

View File

@ -1,7 +1,7 @@
import { batchScrape, crawl, creditUsage, extract, map, scrape, search, tokenUsage } from "./lib"; import { batchScrape, crawl, creditUsage, extract, map, scrape, search, tokenUsage } from "./lib";
const sleep = (ms: number) => new Promise(x => setTimeout(() => x(true), ms)); const sleep = (ms: number) => new Promise(x => setTimeout(() => x(true), ms));
const sleepForBatchBilling = () => sleep(20000); const sleepForBatchBilling = () => sleep(40000);
beforeAll(async () => { beforeAll(async () => {
// Wait for previous test runs to stop billing processing // Wait for previous test runs to stop billing processing