fix(tests/snips/billing): don't wait 40s for nothing when self hosted
This commit is contained in:
@@ -5,7 +5,9 @@ const sleepForBatchBilling = () => sleep(20000);
|
|||||||
|
|
||||||
beforeAll(async () => {
|
beforeAll(async () => {
|
||||||
// Wait for previous test runs to stop billing processing
|
// Wait for previous test runs to stop billing processing
|
||||||
await sleep(40000);
|
if (!process.env.TEST_SUITE_SELF_HOSTED) {
|
||||||
|
await sleep(40000);
|
||||||
|
}
|
||||||
}, 50000);
|
}, 50000);
|
||||||
|
|
||||||
describe("Billing tests", () => {
|
describe("Billing tests", () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user