test: fix gatekeeper bypass logic in pagespeed-sitemap.ts by passing TARGET_URL

This commit is contained in:
2026-06-27 06:14:33 +02:00
parent 7d4ff03806
commit ab42590206

View File

@@ -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.');