mirror of
https://github.com/DirectoryLister/DirectoryLister.git
synced 2025-08-16 11:04:03 +02:00
Fixed ViteTest failing when build assetsa are present
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user