Skip to content

Commit

Permalink
ensure end timestamp is that of last test run
Browse files Browse the repository at this point in the history
  • Loading branch information
fijijavis committed Mar 4, 2020
1 parent 14445ce commit 10d4bed
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 10d4bed

Please sign in to comment.