diff --git a/tests/Features/ViteBundlerTest.php b/tests/Features/ViteBundlerTest.php index 6b9208be..90e06d78 100644 --- a/tests/Features/ViteBundlerTest.php +++ b/tests/Features/ViteBundlerTest.php @@ -13,6 +13,10 @@ class ViteBundlerTest extends TestCase /** @test */ public function the_vite_helper_uses_our_custom_class() { + if (version_compare(app()->version(), '9.0', '<')) { + $this->markTestSkipped('Vite is only used in Laravel 9+'); + } + $vite = app(\Illuminate\Foundation\Vite::class); $this->assertInstanceOf(FoundationVite::class, $vite);