From 92cf677d57ccd4028495979b851abb3f7718554b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Munsch?= Date: Thu, 13 Aug 2026 13:24:47 +0200 Subject: [PATCH] chore(scripts): update test command to enforce coverage minimum This change ensures that the test command requires a minimum coverage of 85%. --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 2d75fde..6e7e9d1 100644 --- a/composer.json +++ b/composer.json @@ -64,11 +64,11 @@ ], "test": [ "@php artisan config:clear --ansi @no_additional_args", - "@php artisan test" + "vendor/bin/pest --coverage --min=85" ], "test:coverage": [ "@php artisan config:clear --ansi @no_additional_args", - "@php artisan test --coverage --coverage-html coverage-report --min=85" + "vendor/bin/pest --coverage --coverage-html coverage-report --min=85" ], "lint": [ "vendor/bin/parallel-lint --exclude vendor --exclude storage --exclude bootstrap --exclude node_modules .",