docs change

This commit is contained in:
Simon Knott 2024-10-16 08:53:47 +02:00
parent 87407618d9
commit c8c483cacb
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC
2 changed files with 5 additions and 5 deletions

View file

@ -112,7 +112,7 @@ export default defineConfig({
* since: v1.10 * since: v1.10
- type: ?<[string]|[Array]<[string]>> - type: ?<[string]|[Array]<[string]>>
Path to the global setup file. This file will be required and run before all the tests. It must export a single function that takes a [FullConfig] argument. Pass an array for multiple global setup files. Path to the global setup file. This file will be required and run before all the tests. It must export a single function that takes a [FullConfig] argument. Pass an array of paths to specify multiple global setup files.
Learn more about [global setup and teardown](../test-global-setup-teardown.md). Learn more about [global setup and teardown](../test-global-setup-teardown.md).
@ -130,7 +130,7 @@ export default defineConfig({
* since: v1.10 * since: v1.10
- type: ?<[string]|[Array]<[string]>> - type: ?<[string]|[Array]<[string]>>
Path to the global teardown file. This file will be required and run after all the tests. It must export a single function. See also [`property: TestConfig.globalSetup`]. Pass an array for multiple global teardown files. Path to the global teardown file. This file will be required and run after all the tests. It must export a single function. See also [`property: TestConfig.globalSetup`]. Pass an array of paths to specify multiple global teardown files.
Learn more about [global setup and teardown](../test-global-setup-teardown.md). Learn more about [global setup and teardown](../test-global-setup-teardown.md).

View file

@ -1077,8 +1077,8 @@ interface TestConfig<TestArgs = {}, WorkerArgs = {}> {
/** /**
* Path to the global setup file. This file will be required and run before all the tests. It must export a single * Path to the global setup file. This file will be required and run before all the tests. It must export a single
* function that takes a [FullConfig](https://playwright.dev/docs/api/class-fullconfig) argument. Pass an array for * function that takes a [FullConfig](https://playwright.dev/docs/api/class-fullconfig) argument. Pass an array of
* multiple global setup files. * paths to specify multiple global setup files.
* *
* Learn more about [global setup and teardown](https://playwright.dev/docs/test-global-setup-teardown). * Learn more about [global setup and teardown](https://playwright.dev/docs/test-global-setup-teardown).
* *
@ -1100,7 +1100,7 @@ interface TestConfig<TestArgs = {}, WorkerArgs = {}> {
* Path to the global teardown file. This file will be required and run after all the tests. It must export a single * Path to the global teardown file. This file will be required and run after all the tests. It must export a single
* function. See also * function. See also
* [testConfig.globalSetup](https://playwright.dev/docs/api/class-testconfig#test-config-global-setup). Pass an array * [testConfig.globalSetup](https://playwright.dev/docs/api/class-testconfig#test-config-global-setup). Pass an array
* for multiple global teardown files. * of paths to specify multiple global teardown files.
* *
* Learn more about [global setup and teardown](https://playwright.dev/docs/test-global-setup-teardown). * Learn more about [global setup and teardown](https://playwright.dev/docs/test-global-setup-teardown).
* *