mirror of
https://github.com/dorny/test-reporter.git
synced 2026-02-04 12:15:21 -08:00
Add support for loading test results from artifacts
This commit is contained in:
13
src/input-providers/input-provider.ts
Normal file
13
src/input-providers/input-provider.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
export interface ReportInput {
|
||||
[reportName: string]: FileContent[]
|
||||
}
|
||||
|
||||
export interface FileContent {
|
||||
file: string
|
||||
content: string
|
||||
}
|
||||
|
||||
export interface InputProvider {
|
||||
load(): Promise<ReportInput>
|
||||
listTrackedFiles(): Promise<string[]>
|
||||
}
|
||||
Reference in New Issue
Block a user