diff --git a/types/test.d.ts b/types/test.d.ts index fd11bb62e5..0e3faeb9fe 100644 --- a/types/test.d.ts +++ b/types/test.d.ts @@ -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. * diff --git a/utils/generate_types/overrides-test.d.ts b/utils/generate_types/overrides-test.d.ts index e078a27fa3..57feedfe26 100644 --- a/utils/generate_types/overrides-test.d.ts +++ b/utils/generate_types/overrides-test.d.ts @@ -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;