Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Commit

Permalink
Fix puppeteer deprecated warning (#791)
Browse files Browse the repository at this point in the history
* Fix puppeteer deprecated warning

* format

---------

Co-authored-by: tga <[email protected]>
  • Loading branch information
neerajkumarc and slmjkdbtl authored Nov 28, 2023
1 parent 39ec8f3 commit 1321414
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit 1321414

Please sign in to comment.