Skip to content

Commit

Permalink
✅ Upgrade puppeteer test dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
skerit committed Oct 5, 2023
1 parent df3903c commit db15111
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
4 changes: 3 additions & 1 deletion test/00-init.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit db15111

Please sign in to comment.