fix(tests/snips/billing): don't wait 40s for nothing when self hosted

This commit is contained in:
Gergő Móricz 2025-03-13 20:07:52 +01:00
parent c7ae50d2d0
commit 387dd3aa38

View File

@ -5,7 +5,9 @@ const sleepForBatchBilling = () => sleep(20000);
beforeAll(async () => {
// Wait for previous test runs to stop billing processing
if (!process.env.TEST_SUITE_SELF_HOSTED) {
await sleep(40000);
}
}, 50000);
describe("Billing tests", () => {