docs: fix example for globalSetup/globalTeardown (#23085)
Signed-off-by: Sam Adams <107990625+sam-super@users.noreply.github.com>
This commit is contained in:
Родитель
6173014a75
Коммит
c0bfbea395
|
@ -49,10 +49,8 @@ Similarly, use `globalTeardown` to run something once after all the tests. Alter
|
|||
import { defineConfig } from '@playwright/test';
|
||||
|
||||
export default defineConfig({
|
||||
use: {
|
||||
globalSetup: require.resolve('./global-setup'),
|
||||
globalTeardown: require.resolve('./global-teardown'),
|
||||
},
|
||||
globalSetup: require.resolve('./global-setup'),
|
||||
globalTeardown: require.resolve('./global-teardown'),
|
||||
});
|
||||
```
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче