From 1321414aae1e6894bcfc4184aa005817f3a69bc3 Mon Sep 17 00:00:00 2001 From: Neerajkumar <78979288+Neerajkumarc@users.noreply.github.com> Date: Mon, 27 Nov 2023 23:09:35 -0500 Subject: [PATCH] Fix puppeteer deprecated warning (#791) * Fix puppeteer deprecated warning * format --------- Co-authored-by: tga --- scripts/test.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/test.js b/scripts/test.js index ce148ace0..3bdcfa184 100644 --- a/scripts/test.js +++ b/scripts/test.js @@ -11,7 +11,9 @@ const run = async () => { let failed = false console.log("launching browser") - const browser = await puppeteer.launch() + const browser = await puppeteer.launch({ + headless: "new" + }) console.log("getting examples list") const examples = (await fs.readdir("examples")) .filter((p) => !p.startsWith(".") && p.endsWith(".js"))