Fix timeout documentation (#18925)

This commit is contained in:
ffluk3 2022-11-21 15:35:35 -08:00 committed by GitHub
parent 490ae796f3
commit e2624979e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,7 +87,7 @@ test('very slow test', async ({ page }) => {
API reference: [`method: Test.setTimeout`] and [`method: Test.slow#1`].
### Change timeout from a slow hook
### Change timeout from a `beforeEach` hook
```js tab=js-js
const { test, expect } = require('@playwright/test');