Skip to content

Commit a3ddcff

Browse files
authored
Merge pull request #89 from happo/before-all-playwright
Change beforeAll call in Playwright docs
2 parents c003c6b + e22bf1b commit a3ddcff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/playwright.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ for initialization and an `afterAll` hook to finish the happo session.
3232
```js
3333
const happoPlaywright = require('happo-playwright');
3434

35-
test.beforeAll(async ({ context }) => {
36-
await happoPlaywright.init(context);
35+
test.beforeAll(async () => {
36+
await happoPlaywright.init();
3737
});
3838

3939
test.afterAll(async () => {

0 commit comments

Comments
 (0)