mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
types(test-runner): Add github to built in reporters (#9283)
This commit is contained in:
parent
19715300b3
commit
ec5e7495df
3
types/test.d.ts
vendored
3
types/test.d.ts
vendored
@ -24,6 +24,7 @@ export type ReporterDescription =
|
||||
['dot'] |
|
||||
['line'] |
|
||||
['list'] |
|
||||
['github'] |
|
||||
['junit'] | ['junit', { outputFile?: string, stripANSIControlSequences?: boolean }] |
|
||||
['json'] | ['json', { outputFile?: string }] |
|
||||
['null'] |
|
||||
@ -461,7 +462,7 @@ interface TestConfig {
|
||||
* ```
|
||||
*
|
||||
*/
|
||||
reporter?: LiteralUnion<'list'|'dot'|'line'|'json'|'junit'|'null', string> | ReporterDescription[];
|
||||
reporter?: LiteralUnion<'list'|'dot'|'line'|'github'|'json'|'junit'|'null', string> | ReporterDescription[];
|
||||
/**
|
||||
* Whether to report slow tests. Pass `null` to disable this feature.
|
||||
*
|
||||
|
3
utils/generate_types/overrides-test.d.ts
vendored
3
utils/generate_types/overrides-test.d.ts
vendored
@ -23,6 +23,7 @@ export type ReporterDescription =
|
||||
['dot'] |
|
||||
['line'] |
|
||||
['list'] |
|
||||
['github'] |
|
||||
['junit'] | ['junit', { outputFile?: string, stripANSIControlSequences?: boolean }] |
|
||||
['json'] | ['json', { outputFile?: string }] |
|
||||
['null'] |
|
||||
@ -108,7 +109,7 @@ interface TestConfig {
|
||||
preserveOutput?: PreserveOutput;
|
||||
projects?: Project[];
|
||||
quiet?: boolean;
|
||||
reporter?: LiteralUnion<'list'|'dot'|'line'|'json'|'junit'|'null', string> | ReporterDescription[];
|
||||
reporter?: LiteralUnion<'list'|'dot'|'line'|'github'|'json'|'junit'|'null', string> | ReporterDescription[];
|
||||
reportSlowTests?: ReportSlowTests;
|
||||
shard?: Shard;
|
||||
updateSnapshots?: UpdateSnapshots;
|
||||
|
Loading…
x
Reference in New Issue
Block a user