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'); }