From 0d05ab87f004bc8aa0f5c6c48dfa040326c468e0 Mon Sep 17 00:00:00 2001 From: XXXMrG Date: Mon, 20 Jan 2025 10:28:02 +0800 Subject: [PATCH] fix: ci --- tests/utils/browser.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/utils/browser.ts b/tests/utils/browser.ts index 5591e9921d..be37c830ce 100644 --- a/tests/utils/browser.ts +++ b/tests/utils/browser.ts @@ -84,7 +84,11 @@ export default class Browser { } async start() { - this.browser = await puppeteer.launch(); + this.browser = await puppeteer.launch( + { + args: ['--no-sandbox', '--disable-setuid-sandbox'], + }, + ); } async close() {