Did you forget to use the [uses()] function? get this error after install pest in laravel
after installing pest in Laravel I found this type of error "Did you forget to use the [uses()] function?". Because I haven't any Pest.php file in my test directory.
So just install pest 2 in my project again.
# First use this command
composer require pestphp/pest --dev --with-all-dependencies
# Then use this one
./vendor/bin/pest --init
after this command "./vendor/bin/pest --init" you will a Pest.php file in your test directory.
that's it. #happyCoding