8000 Add `composer run test` command (#6598) · laravel/laravel@43ad194 · GitHub
[go: up one dir, main page]

Skip to content

Commit 43ad194

Browse files
authored
Add composer run test command (#6598)
This prevents the application from running tests with cached config.
1 parent fc42b71 commit 43ad194

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

composer.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@
5050
"dev": [
5151
"Composer\\Config::disableProcessTimeout",
5252
"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"
53+
],
54+
"test": [
55+
"@php artisan config:clear --ansi",
56+
"@php artisan test"
5357
]
5458
},
5559
"extra": {

0 commit comments

Comments
 (0)
0