]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commitdiff
test: report coverage only in test:coverage script
authorJérôme Benoit <jerome.benoit@sap.com>
Wed, 25 Feb 2026 09:10:02 +0000 (10:10 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Wed, 25 Feb 2026 09:10:02 +0000 (10:10 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
package.json

index 49cd8872ec98fd5adf2bf058f18c489ff07425b0..eb2aa66a912d2cf2039bd8eedb00eab7e66e6009 100644 (file)
@@ -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",