diff --git a/docs/src/test-api/class-testoptions.md b/docs/src/test-api/class-testoptions.md index 6ce6ad75e3..d812be7cf1 100644 --- a/docs/src/test-api/class-testoptions.md +++ b/docs/src/test-api/class-testoptions.md @@ -355,10 +355,12 @@ export default defineConfig({ projects: [ { name: 'chromium', - use: { ...devices['Desktop Chrome'] }, - launchOptions: { - args: ['--start-maximized'], - }, + use: { + ...devices['Desktop Chrome'], + launchOptions: { + args: ['--start-maximized'] + } + } } ] }); diff --git a/packages/playwright-test/types/test.d.ts b/packages/playwright-test/types/test.d.ts index 791809b5bc..71f8f55e5d 100644 --- a/packages/playwright-test/types/test.d.ts +++ b/packages/playwright-test/types/test.d.ts @@ -3518,10 +3518,12 @@ export interface PlaywrightWorkerOptions { * projects: [ * { * name: 'chromium', - * use: { ...devices['Desktop Chrome'] }, - * launchOptions: { - * args: ['--start-maximized'], - * }, + * use: { + * ...devices['Desktop Chrome'], + * launchOptions: { + * args: ['--start-maximized'] + * } + * } * } * ] * });