Summer Sale! All accounts are 50% off this week.

peterdickins's avatar

Running Tests with Laravel 9, Inertia & Vue 3project

I have a new project set up usign Laravel 9, Inertia and Vue 3. When I run the test suite I get the following message:

user@MacBook-Pro listable % ./vendor/bin/phpunit 
PHPUnit 9.5.27 by Sebastian Bergmann and contributors.

.F                                                                  2 / 2 (100%)

Time: 00:00.487, Memory: 26.00 MB

There was 1 failure:

1) Tests\Feature\ExampleTest::test_the_application_returns_a_successful_response
Expected response status code [200] but received 500.
Failed asserting that 200 is identical to 500.

The following exception occurred during the last request:

Exception: Vite manifest not found at: /Users/.../public/build/manifest.json in 
/Users/.../vendor/laravel/framework/src/Illuminate/Foundation/Vite.php:683
0 likes
1 reply

Please or to participate in this conversation.