Skip to content

Commit

Permalink
Remove ESM from Puppeteer recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
Autre31415 committed Jun 12, 2020
1 parent 34a134a commit a901672
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/recipes/puppeteer.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The first step is setting up a helper to configure the environment:
```js
const puppeteer = require('puppeteer');

export default async function withPage(t, run) {
module.exports = async (t, run) => {
const browser = await puppeteer.launch();
const page = await browser.newPage();
try {
Expand Down

0 comments on commit a901672

Please sign in to comment.