Skip to content

Commit 364cc05

Browse files
authored
Add missing methods to fake Vite instance (#49165)
1 parent 4012853 commit 364cc05

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/Illuminate/Foundation/Testing/Concerns/InteractsWithContainer.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,11 @@ public function useStyleTagAttributes($attributes)
160160
return $this;
161161
}
162162

163+
public function usePreloadTagAttributes($attributes)
164+
{
165+
return $this;
166+
}
167+
163168
public function preloadedAssets()
164169
{
165170
return [];
@@ -170,6 +175,11 @@ public function reactRefresh()
170175
return '';
171176
}
172177

178+
public function content($asset, $buildDirectory = null)
179+
{
180+
return '';
181+
}
182+
173183
public function asset($asset, $buildDirectory = null)
174184
{
175185
return '';

0 commit comments

Comments
 (0)