From d0622702c011ce50e7dd2c3d1d0004f3701ea505 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sas=CC=8Ca=20Jovanic=CC=81?= Date: Fri, 10 Apr 2026 17:07:51 +0100 Subject: [PATCH] Report coverage only on one file --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 393cb63..57953e1 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "build-bower": "rm -rf dist && npx tsc --declaration --target es2017 --module amd --outDir ./dist/", "build-module": "rm -rf jsnext && npx tsc --target es2017 --module es2020 --outDir ./jsnext/", "test": "npm run build && mocha 'test/**/*.js'", - "coverage": "npm run build && c8 mocha && c8 report --reporter=text-lcov > test.lcov", + "coverage": "npm run build && c8 mocha && c8 report -e \".js\" --reporter=text-lcov > test.lcov", "lint": "eslint 'src/**/*.ts' 'test/**/*.js'", "prepare": "npm run build-node", "docs": "typedoc src/ibantools.ts",