/
githubmirror
/
framework
Обзор
Документация
Войти
/
githubmirror
/
framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
13.x
tests/Integration/Testing/TestCaseTest.php
20 строк
408 B
Nuno Maduro
Clears resolve instances of Vite when using `withoutVite` (#47091)
15 май 2023, 17:56
Не верифицирован
15 май 2023, 17:56
89e549d
Код
Авторство
О чём код?
<?php namespace Illuminate\Tests\Integration\Testing; use Illuminate\Support\Facades\Vite; use Orchestra\Testbench\TestCase; class TestCaseTest extends TestCase { public function test_without_vite_clear_facade_resolved_instance() { Vite::useScriptTagAttributes([ 'crossorigin' => 'anonymous', ]); $this->withoutVite(); Vite::asset('foo.png'); } }