mirror of
https://github.com/dorny/test-reporter.git
synced 2026-02-04 04:05:22 -08:00
Implements jest-junit report parsing
This commit is contained in:
10
src/parsers/test-parser.ts
Normal file
10
src/parsers/test-parser.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import {Endpoints} from '@octokit/types'
|
||||
|
||||
type OutputParameters = Endpoints['POST /repos/:owner/:repo/check-runs']['parameters']['output']
|
||||
|
||||
export type ParseTestResult = (content: string) => Promise<TestResult>
|
||||
|
||||
export interface TestResult {
|
||||
success: boolean
|
||||
output: OutputParameters
|
||||
}
|
||||
Reference in New Issue
Block a user