mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
docs(reporters): fix TS example (#8531)
Co-authored-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
parent
37a897c9b4
commit
d3a8c38b7e
@ -32,7 +32,7 @@ module.exports = MyReporter;
|
||||
```
|
||||
|
||||
```js js-flavor=ts
|
||||
// playwright.config.ts
|
||||
// my-awesome-reporter.ts
|
||||
import { Reporter } from '@playwright/test/reporter';
|
||||
|
||||
class MyReporter implements Reporter {
|
||||
|
||||
2
types/testReporter.d.ts
vendored
2
types/testReporter.d.ts
vendored
@ -307,7 +307,7 @@ export interface FullResult {
|
||||
* ```
|
||||
*
|
||||
* ```js js-flavor=ts
|
||||
* // playwright.config.ts
|
||||
* // my-awesome-reporter.ts
|
||||
* import { Reporter } from '@playwright/test/reporter';
|
||||
*
|
||||
* class MyReporter implements Reporter {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user