diff --git a/src/support/utils.js b/src/support/utils.js index 098723e0..531c988d 100644 --- a/src/support/utils.js +++ b/src/support/utils.js @@ -19,6 +19,7 @@ import { JSDOM } from 'jsdom'; import { GetSecretValueCommand, SecretsManagerClient } from '@aws-sdk/client-secrets-manager'; URI.preventInvalidHostname = true; +const TIMEOUT = 3000; /* c8 ignore next 3 */ export const { fetch } = process.env.HELIX_FETCH_FORCE_HTTP1 @@ -34,8 +35,6 @@ export async function getRUMUrl(url) { return finalUrl.endsWith('/') ? finalUrl.slice(0, -1) : /* c8 ignore next */ finalUrl; } -const TIMEOUT = 3000; - /** * Fetches a URL with a specified timeout. *