diff --git a/src/Utils/bounded-retry.ts b/src/Utils/bounded-retry.ts index a61d09cf..90269dcb 100644 --- a/src/Utils/bounded-retry.ts +++ b/src/Utils/bounded-retry.ts @@ -100,7 +100,7 @@ export const DEFAULT_TTL_MS = 10 * 60 * 1000 */ export const DEFAULT_PER_ATTEMPT_TIMEOUT_MS = 30000 -export interface BoundedRetryOptions { +export interface BoundedRetryOptions { /** Operation name for logging/metrics */ name?: string /** Sequence of delays (ms). Last value is used as cap. */ @@ -217,7 +217,7 @@ function sleep(ms: number, signal?: AbortSignal): Promise { */ export async function withBoundedRetry( operation: () => Promise, - options: BoundedRetryOptions = {} + options: BoundedRetryOptions = {} ): Promise { const name = options.name ?? 'bounded-retry' const delays = options.delays ?? WHATSAPP_BACKOFF_DELAYS diff --git a/src/__tests__/Utils/retry-utils.test.ts b/src/__tests__/Utils/retry-utils.test.ts index c06482cf..3fad8824 100644 --- a/src/__tests__/Utils/retry-utils.test.ts +++ b/src/__tests__/Utils/retry-utils.test.ts @@ -2,7 +2,7 @@ * Testes unitários para retry-utils.ts */ -import { beforeEach, describe, expect, it, jest } from '@jest/globals' +import { describe, expect, it, jest } from '@jest/globals' import { calculateDelay, createRetrier,