We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a0324bd + 013a08b commit d3a416dCopy full SHA for d3a416d
src/TestResult.php
@@ -50,7 +50,7 @@ private function parseOutput(): void
50
private function parseMainMetrics(): void
51
{
52
// Duration
53
- if (preg_match('/Duration:\s+([\d.]+s)/', $this->rawOutput, $matches)) {
+ if (preg_match('/Duration:\s+([\d.]+(?:ms|s|m|hr))/', $this->rawOutput, $matches)) {
54
$this->parsedResults['duration'] = $matches[1];
55
}
56
0 commit comments