Skip to content

Commit fd23359

Browse files
committed
Fix ability to disable slow reporting on a single test case
1 parent eff89f6 commit fd23359

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SpeedTrapListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public function endTestSuite(TestSuite $suite): void
129129
*/
130130
protected function isSlow(int $time, int $slowThreshold): bool
131131
{
132-
return $time && $time >= $slowThreshold;
132+
return $slowThreshold && $time >= $slowThreshold;
133133
}
134134

135135
/**

0 commit comments

Comments
 (0)