From: Jérôme Benoit Date: Wed, 25 Feb 2026 09:10:02 +0000 (+0100) Subject: test: report coverage only in test:coverage script X-Git-Tag: ocpp-server@v3.0.0~153 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=ed2f4fd3f516c4dfdebf47e031b8e5cfbac1a161;p=e-mobility-charging-stations-simulator.git test: report coverage only in test:coverage script Signed-off-by: Jérôme Benoit --- diff --git a/package.json b/package.json index 49cd8872..eb2aa66a 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ "lint": "cross-env TIMING=1 eslint --cache src tests scripts ./*.js ./*.ts", "lint:fix": "cross-env TIMING=1 eslint --cache --fix src tests scripts ./*.js ./*.ts", "format": "prettier --cache --write .; eslint --cache --fix src tests scripts ./*.js ./*.ts", - "test": "node --import tsx --test --experimental-test-coverage tests/**/*.test.ts", + "test": "node --import tsx --test tests/**/*.test.ts", "test:debug": "node --import tsx --test --inspect tests/**/*.test.ts", "test:coverage": "mkdir -p coverage && node --import tsx --test --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=coverage/lcov.info tests/**/*.test.ts", "clinic:clean": "clinic clean",