Skip to content

Commit a901672

Browse files
authored
Remove ESM from Puppeteer recipe
1 parent 34a134a commit a901672

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/recipes/puppeteer.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The first step is setting up a helper to configure the environment:
1515
```js
1616
const puppeteer = require('puppeteer');
1717

18-
export default async function withPage(t, run) {
18+
module.exports = async (t, run) => {
1919
const browser = await puppeteer.launch();
2020
const page = await browser.newPage();
2121
try {

0 commit comments

Comments
 (0)