Skip to content

Commit

Permalink
docs(readme): fix chrome-launcher import example (#15428)
Browse files Browse the repository at this point in the history
  • Loading branch information
TortitasT authored Sep 2, 2023
1 parent a1c7308 commit 268e3af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ assumes you've installed Lighthouse as a dependency (`yarn add --dev lighthouse`
```js
import fs from 'fs';
import lighthouse from 'lighthouse';
import chromeLauncher from 'chrome-launcher';
import * as chromeLauncher from 'chrome-launcher';

const chrome = await chromeLauncher.launch({chromeFlags: ['--headless']});
const options = {logLevel: 'info', output: 'html', onlyCategories: ['performance'], port: chrome.port};
Expand Down

0 comments on commit 268e3af

Please sign in to comment.