diff --git a/package.json b/package.json index 41e4f2d..7facdb0 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "jest-html-reporter": "^3.7.0", "jest-puppeteer": "^6.2.0", "jest-junit": "^15.0.0", - "puppeteer-core": "^19.4.1" + "puppeteer": "^21.5.2" }, "scripts": { "test": "jest --env=node --colors test", diff --git a/test/main.test.js b/test/main.test.js index f82e525..aa3ed2f 100644 --- a/test/main.test.js +++ b/test/main.test.js @@ -487,8 +487,7 @@ async function takeScreenshot( */ function launchBrowser() { return puppeteer.launch({ - headless: true, - executablePath: chromiumPath + headless: true }); }