mirror of
https://github.com/microsoft/playwright.git
synced 2025-01-06 03:16:17 +03:00
docs(reporters): wrap reporter in array, fixing typo in docs (#30686)
This commit is contained in:
parent
d1cdf6826d
commit
2d7b1480b2
@ -70,7 +70,7 @@ Now use this reporter with [`property: TestConfig.reporter`]. Learn more about [
|
||||
import { defineConfig } from '@playwright/test';
|
||||
|
||||
export default defineConfig({
|
||||
reporter: ['./my-awesome-reporter.ts', { customOption: 'some value' }],
|
||||
reporter: [['./my-awesome-reporter.ts', { customOption: 'some value' }]],
|
||||
});
|
||||
```
|
||||
|
||||
|
2
packages/playwright/types/testReporter.d.ts
vendored
2
packages/playwright/types/testReporter.d.ts
vendored
@ -88,7 +88,7 @@ export interface FullResult {
|
||||
* import { defineConfig } from '@playwright/test';
|
||||
*
|
||||
* export default defineConfig({
|
||||
* reporter: ['./my-awesome-reporter.ts', { customOption: 'some value' }],
|
||||
* reporter: [['./my-awesome-reporter.ts', { customOption: 'some value' }]],
|
||||
* });
|
||||
* ```
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user