fix: no --dirty tests found

This commit is contained in:
Nuno Maduro
2023-02-12 01:06:02 +00:00
parent e749af6d91
commit 0e9c1bc0f7
6 changed files with 126 additions and 30 deletions

View File

@ -5,7 +5,7 @@ declare(strict_types=1);
namespace Pest;
use Pest\Contracts\Bootstrapper;
use Pest\Exceptions\NoTestsFound;
use Pest\Exceptions\NoDirtyTestsFound;
use Pest\Plugins\Actions\CallsAddsOutput;
use Pest\Plugins\Actions\CallsBoot;
use Pest\Plugins\Actions\CallsShutdown;
@ -87,7 +87,7 @@ final class Kernel
try {
$this->application->run($args);
} catch (NoTestsFound) {
} catch (NoDirtyTestsFound) {
$this->output->writeln([
'',
' <fg=white;options=bold;bg=blue> INFO </> No tests found.',