diff --git a/packages/test/src/index.ts b/packages/test/src/index.ts index fc123506..66736b52 100644 --- a/packages/test/src/index.ts +++ b/packages/test/src/index.ts @@ -184,7 +184,9 @@ export const otel = Object.freeze({ beforeEach(async function () { const CURRENT_RETRY = "currentRetry" const currentRetry = this.currentTest?.[CURRENT_RETRY]() + if (currentRetry) { + this.timeout(1000 + this.timeout()) await setTimeout(currentRetry * 1000) } })