Skip to content

Commit af53a41

Browse files
committed
Update StaticSiteServiceTest.php
1 parent 88b35eb commit af53a41

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

packages/framework/tests/Feature/StaticSiteServiceTest.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,14 +160,12 @@ public function testNodeActionOutputs()
160160
{
161161
Process::fake();
162162

163-
$this->artisan('build --run-prettier --run-dev --run-prod')
163+
$this->artisan('build --run-prettier --run-vite')
164164
->expectsOutput('Prettifying code! This may take a second.')
165-
->expectsOutput('Building frontend assets for development! This may take a second.')
166-
->expectsOutput('Building frontend assets for production! This may take a second.')
165+
->expectsOutput('Building frontend assets with Vite! This may take a second.')
167166
->assertExitCode(0);
168167

169168
Process::assertRan(fn ($process) => $process->command === 'npx prettier '.Hyde::pathToRelative(Hyde::sitePath()).'/**/*.html --write --bracket-same-line');
170-
Process::assertRan(fn ($process) => $process->command === 'npm run dev');
171169
Process::assertRan(fn ($process) => $process->command === 'npm run build');
172170
}
173171

0 commit comments

Comments
 (0)