From ab42590206cbb38800adaec24fb60243483d9ade Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Sat, 27 Jun 2026 06:14:33 +0200 Subject: [PATCH] test: fix gatekeeper bypass logic in pagespeed-sitemap.ts by passing TARGET_URL --- scripts/pagespeed-sitemap.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pagespeed-sitemap.ts b/scripts/pagespeed-sitemap.ts index a81709985..75c0e6faa 100644 --- a/scripts/pagespeed-sitemap.ts +++ b/scripts/pagespeed-sitemap.ts @@ -148,7 +148,7 @@ async function main() { execSync(lhciCommand, { encoding: 'utf8', stdio: 'inherit', - env: { ...process.env, CHROME_PATH: chromePath }, + env: { ...process.env, CHROME_PATH: chromePath, TARGET_URL: targetUrl }, }); } catch (err: any) { console.warn('⚠️ LHCI assertion finished with warnings or errors.');