From e1de91ea96081f111715c3e61afef402e475491c Mon Sep 17 00:00:00 2001 From: Daniel Date: Sun, 5 Jul 2026 23:33:39 +1000 Subject: [PATCH] ci: Exclude build tooling (resources/) from coverage resources/buildConfigDefinitions.js is a build-time codegen tool, not shipped runtime code. Its generation pipeline only runs on direct execution (require.main === module), so it can't be exercised by the test suite, and it only exports mapperFor. Measuring it reports ~19% and drags the project coverage number down for code that isn't part of the product. Exclude resources/** from nyc instrumentation. --- .nycrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.nycrc b/.nycrc index 82a1fc5f1e..dc7c97ebc0 100644 --- a/.nycrc +++ b/.nycrc @@ -4,7 +4,8 @@ "text-summary" ], "exclude": [ - "**/spec/**" + "**/spec/**", + "resources/**" ] }