From 9f4ef4f33dbb095c581d1ac5ab888aae6265e664 Mon Sep 17 00:00:00 2001 From: Chris Kankiewicz Date: Mon, 24 Mar 2025 08:27:29 -0700 Subject: [PATCH] Fixed ViteTest failing when build assetsa are present --- tests/ViewFunctions/ViteTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/ViewFunctions/ViteTest.php b/tests/ViewFunctions/ViteTest.php index f700725..b51f565 100644 --- a/tests/ViewFunctions/ViteTest.php +++ b/tests/ViewFunctions/ViteTest.php @@ -16,6 +16,7 @@ class ViteTest extends TestCase public function it_can_get_tags_for_a_list_of_assets_when_in_dev_mode(): void { $this->container->set('asset_path', $this->filePath('.')); + $this->container->set('manifest_path', $this->filePath('./manifest.json')); $vite = $this->container->get(Vite::class); @@ -32,6 +33,7 @@ class ViteTest extends TestCase public function it_can_get_tags_for_a_list_of_assets_when_in_build_mode(): void { $this->container->set('assets_path', $this->filePath('app/assets')); + $this->container->set('manifest_path', $this->filePath('app/assets/manifest.json')); $vite = $this->container->get(Vite::class);