docs: fix typo in Reporter.onEnd (#26486)

Signed-off-by: ggorlen <gsgorlen@gmail.com>
This commit is contained in:
ggorlen 2023-08-16 15:40:14 -07:00 committed by GitHub
parent 929a849265
commit 0149c7d56c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -107,7 +107,7 @@ The root suite that contains all projects, files and test cases.
## optional async method: Reporter.onEnd ## optional async method: Reporter.onEnd
* since: v1.10 * since: v1.10
Called after all tests has been run, or testing has been interrupted. Note that this method may return a [Promise] and Playwright Test will await it. Called after all tests have been run, or testing has been interrupted. Note that this method may return a [Promise] and Playwright Test will await it.
### param: Reporter.onEnd.result ### param: Reporter.onEnd.result
* since: v1.10 * since: v1.10

View File

@ -399,7 +399,7 @@ export interface Reporter {
*/ */
onBegin?(config: FullConfig, suite: Suite): void; onBegin?(config: FullConfig, suite: Suite): void;
/** /**
* Called after all tests has been run, or testing has been interrupted. Note that this method may return a [Promise] * Called after all tests have been run, or testing has been interrupted. Note that this method may return a [Promise]
* and Playwright Test will await it. * and Playwright Test will await it.
* @param result Result of the full test run. * @param result Result of the full test run.
* - `'passed'` - Everything went as expected. * - `'passed'` - Everything went as expected.