mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-18 07:07:08 +01:00
Support parsing multiple reports
This commit is contained in:
parent
659bb4fff3
commit
c48c07640f
15 changed files with 219 additions and 74 deletions
|
|
@ -1,5 +1,5 @@
|
|||
export class TestRunResult {
|
||||
constructor(readonly suites: TestSuiteResult[], private totalTime?: number) {}
|
||||
constructor(readonly path: string, readonly suites: TestSuiteResult[], private totalTime?: number) {}
|
||||
|
||||
get tests(): number {
|
||||
return this.suites.reduce((sum, g) => sum + g.tests, 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue