Add composer run test command (#6598)

This prevents the application from running tests with cached config.
This commit is contained in:
Mior Muhammad Zaki
2025-04-11 23:21:14 +08:00
committed by GitHub
parent fc42b7132a
commit 43ad1946fc

View File

@@ -50,6 +50,10 @@
"dev": [ "dev": [
"Composer\\Config::disableProcessTimeout", "Composer\\Config::disableProcessTimeout",
"npx concurrently -c \"#93c5fd,#c4b5fd,#fb7185,#fdba74\" \"php artisan serve\" \"php artisan queue:listen --tries=1\" \"php artisan pail --timeout=0\" \"npm run dev\" --names=server,queue,logs,vite" "npx concurrently -c \"#93c5fd,#c4b5fd,#fb7185,#fdba74\" \"php artisan serve\" \"php artisan queue:listen --tries=1\" \"php artisan pail --timeout=0\" \"npm run dev\" --names=server,queue,logs,vite"
],
"test": [
"@php artisan config:clear --ansi",
"@php artisan test"
] ]
}, },
"extra": { "extra": {