mirror of
https://github.com/pestphp/pest.git
synced 2026-03-12 02:37:22 +01:00
w
This commit is contained in:
@ -40,7 +40,7 @@ final class Only implements Terminable
|
|||||||
*/
|
*/
|
||||||
public static function enable(TestCall $testCall, string $group = '__pest_only'): void
|
public static function enable(TestCall $testCall, string $group = '__pest_only'): void
|
||||||
{
|
{
|
||||||
if (Environment::name() === Environment::CI) {
|
if (Environment::name() === Environment::CI || Parallel::isWorker()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user