mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-13 03:49:01 +08:00
fix(tests/snips/billing): don't wait 40s for nothing when self hosted
This commit is contained in:
parent
c7ae50d2d0
commit
387dd3aa38
@ -5,7 +5,9 @@ const sleepForBatchBilling = () => sleep(20000);
|
||||
|
||||
beforeAll(async () => {
|
||||
// Wait for previous test runs to stop billing processing
|
||||
await sleep(40000);
|
||||
if (!process.env.TEST_SUITE_SELF_HOSTED) {
|
||||
await sleep(40000);
|
||||
}
|
||||
}, 50000);
|
||||
|
||||
describe("Billing tests", () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user