Skip to content

Commit

Permalink
Merge pull request #44 from fijijavis/merge_results_date_issue
Browse files Browse the repository at this point in the history
ensure end timestamp is that of last test run
  • Loading branch information
fijijavis authored Mar 4, 2020
2 parents 14445ce + 10d4bed commit 5e12d5e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/mergeResults.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ function mergeData (rawData) {
}
})

mergedResults.suites.forEach((suite) => {
mergedResults.end = (suite.end > mergedResults.end ? suite.end : mergedResults.end)
})

return mergedResults
}

Expand Down

0 comments on commit 5e12d5e

Please sign in to comment.