mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 02:14:01 +00:00
fix: update vulnerable dependencies and adapt browser QA to Puppeteer 25
This commit is contained in:
1 parent
a458d27067
commit
f94bdb1d77
33 files changed
+403
-1315
No files matched your search
@@ -19,7 +19,7 @@ const headful = process.argv.includes('--headful');
|
||||
const forceKeyless = process.argv.includes('--keyless')
|
||||
|| process.env.QA_MAP_SOURCE_TRAY_KEYLESS === '1';
|
||||
const executablePath = process.env.PUPPETEER_EXECUTABLE_PATH
|
||||
|| (() => { try { return puppeteer.executablePath(); } catch { return null; } })();
|
||||
|| await puppeteer.executablePath().catch(() => null);
|
||||
|
||||
if (!executablePath || !fs.existsSync(executablePath)) {
|
||||
throw new Error('Puppeteer Chrome for Testing is unavailable');
|
||||
|
||||
Reference in new issue
Block a user