diff --git a/src/Laravel/Commands/PestInstallCommand.php b/src/Laravel/Commands/PestInstallCommand.php index 1e924e09..c5247548 100644 --- a/src/Laravel/Commands/PestInstallCommand.php +++ b/src/Laravel/Commands/PestInstallCommand.php @@ -60,7 +60,9 @@ final class PestInstallCommand extends Command $this->output->success('`tests/Pest.php` created successfully.'); $this->output->success('`tests/Helpers.php` created successfully.'); - (new \Pest\Console\Thanks($this->output))(); + if (!(bool) $this->option('no-interaction')) { + (new \Pest\Console\Thanks($this->output))(); + } } /**