From af53a413a5eb2d85e59033991869c579ba7ed284 Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Mon, 11 Nov 2024 18:43:48 +0100 Subject: [PATCH] Update StaticSiteServiceTest.php --- packages/framework/tests/Feature/StaticSiteServiceTest.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/framework/tests/Feature/StaticSiteServiceTest.php b/packages/framework/tests/Feature/StaticSiteServiceTest.php index 25931842235..7bc0627d30c 100644 --- a/packages/framework/tests/Feature/StaticSiteServiceTest.php +++ b/packages/framework/tests/Feature/StaticSiteServiceTest.php @@ -160,14 +160,12 @@ public function testNodeActionOutputs() { Process::fake(); - $this->artisan('build --run-prettier --run-dev --run-prod') + $this->artisan('build --run-prettier --run-vite') ->expectsOutput('Prettifying code! This may take a second.') - ->expectsOutput('Building frontend assets for development! This may take a second.') - ->expectsOutput('Building frontend assets for production! This may take a second.') + ->expectsOutput('Building frontend assets with Vite! This may take a second.') ->assertExitCode(0); Process::assertRan(fn ($process) => $process->command === 'npx prettier '.Hyde::pathToRelative(Hyde::sitePath()).'/**/*.html --write --bracket-same-line'); - Process::assertRan(fn ($process) => $process->command === 'npm run dev'); Process::assertRan(fn ($process) => $process->command === 'npm run build'); }