Skip to content

Commit

Permalink
Merge branch 'master' into fancy-serve-command
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva authored Nov 10, 2023
2 parents 96780b7 + 0efe927 commit ad7ae2e
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
use Hyde\Testing\TestCase;
use Illuminate\Support\Facades\Process;
use TypeError;
use Hyde\RealtimeCompiler\ConsoleOutput;

/**
* @covers \Hyde\Console\Commands\ServeCommand
Expand Down Expand Up @@ -163,6 +164,10 @@ public function test_hyde_serve_command_passes_through_process_output()

public function testWithFancyOutput()
{
if (! class_exists(ConsoleOutput::class)) {
$this->markTestSkipped('ConsoleOutput class not found.');
}

Process::fake(['php -S localhost:8080 {$this->binaryPath()}' => 'foo']);

$this->artisan('serve')
Expand Down

0 comments on commit ad7ae2e

Please sign in to comment.