fix: updates Only plugin to check for CI environment

This commit is contained in:
Nick Haynes
2024-01-29 19:03:06 -06:00
parent eeade88ad2
commit d29997d5b0

View File

@ -40,6 +40,10 @@ final class Only implements Terminable
*/
public static function enable(TestCall $testCall): void
{
if (Environment::name() == Environment::CI) {
return;
}
$testCall->group('__pest_only');
$lockFile = self::TEMPORARY_FOLDER.DIRECTORY_SEPARATOR.'only.lock';