在使用 Vite 的 Laravel 环境中运行 Pest 时,解决 Vite manifest not found at 错误
在使用 Vite 的 Laravel 环境中运行 Pest 时,有时会出现 错误。 此时需要禁用 Vite。 在 文件中添加以下内容。 添加 方法后,Vite 就会被禁用,因此不会再出现该错误。
GGAMI
在使用 Vite 的 Laravel 环境中运行 Pest 时,有时会出现 Vite manifest not found at 错误。
此时需要禁用 Vite。
在 /tests/TestCase.php 文件中添加以下内容。
<?php
namespace Tests;
use Illuminate