This commit is contained in:
nuno maduro
2026-05-02 15:03:44 +01:00
parent 7d51601120
commit 4a8c2d7d78
12 changed files with 57 additions and 456 deletions

View File

@ -45,6 +45,9 @@ final readonly class EnsureTiaIsRunningPestTestsOnly implements PreparedSubscrib
Panic::with(new TiaRequiresPestTests($className, $test->file()));
}
/**
* @param class-string $className
*/
private function usesTestableTrait(string $className): bool
{
$reflection = new ReflectionClass($className);