Adds compact printer

This commit is contained in:
Nuno Maduro
2022-09-16 16:27:23 +01:00
parent 7a41a540f2
commit 9fd8610390
9 changed files with 127 additions and 74 deletions

View File

@ -5,6 +5,7 @@ declare(strict_types=1);
namespace Pest\PendingCalls;
use Closure;
use NunoMaduro\Collision\Adapters\Phpunit\Printers\DefaultPrinter;
use Pest\TestSuite;
/**
@ -52,6 +53,13 @@ final class UsesCall
$this->targets = [$filename];
}
public function compact(): self
{
DefaultPrinter::compact(true);
return $this;
}
/**
* The directories or file where the
* class or traits should be used.