From db15111bc8cf8e12f690d13717f2237a532bfa14 Mon Sep 17 00:00:00 2001 From: Jelle De Loecker Date: Thu, 5 Oct 2023 09:54:20 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20Upgrade=20puppeteer=20test=20depend?= =?UTF-8?q?ency?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 4 ++-- test/00-init.js | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 763b5b83..ba7430a9 100644 --- a/package.json +++ b/package.json @@ -55,11 +55,11 @@ }, "devDependencies": { "codecov" : "~3.8.1", - "istanbul-lib-instrument" : "~4.0.3", + "istanbul-lib-instrument" : "~6.0.1", "mocha" : "~10.2.0", "mongo-unit" : "~3.3.0", "nyc" : "^15.1.0", - "puppeteer" : "~19.0.0", + "puppeteer" : "~21.3.6", "source-map" : "~0.7.3" }, "scripts": { diff --git a/test/00-init.js b/test/00-init.js index 5d144105..afa0fc24 100644 --- a/test/00-init.js +++ b/test/00-init.js @@ -40,7 +40,9 @@ async function loadBrowser() { devtools: true, }); } else { - global.browser = await puppeteer.launch(); + global.browser = await puppeteer.launch({ + headless: 'new', + }); } global.page = await browser.newPage();