fix: undefined property

This commit is contained in:
Nuno Maduro
2025-05-21 02:00:15 +01:00
parent 7711a52fe9
commit 909d778da3
4 changed files with 6 additions and 4 deletions

View File

@ -470,7 +470,7 @@ trait Testable
*/
public static function getLatestPrintableTestCaseMethodName(): string
{
return self::$__latestDescription;
return self::$__latestDescription ?? '';
}
/**

View File

@ -6,7 +6,7 @@ namespace Pest;
function version(): string
{
return '4.0.0-alpha.1';
return '4.0.0-alpha.2';
}
function testDirectory(string $file = ''): string