mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-18 07:07:08 +01:00
Implements jest-junit report parsing
This commit is contained in:
parent
7bda3b9f6f
commit
bc706859ad
11 changed files with 381 additions and 34 deletions
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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue