fix: tests in Helpers directory are not executed

This commit is contained in:
Sandro Gehri
2023-03-30 21:49:17 +02:00
parent 152b7a9fc4
commit d14f2728d8
7 changed files with 26 additions and 6 deletions

View File

@ -30,7 +30,10 @@ final class Backtrace
$traceFile = str_replace(DIRECTORY_SEPARATOR, '/', $trace[self::FILE]);
if (Str::endsWith($traceFile, 'overrides/Runner/TestSuiteLoader.php')) {
if (
Str::endsWith($traceFile, 'overrides/Runner/TestSuiteLoader.php') ||
Str::endsWith($traceFile, 'src/Bootstrappers/BootFiles.php')
) {
break;
}