refactor(views): give complete-within-view coverage only the returned count (#11132)

* refactor(views): give complete-within-view coverage only the returned count

* test(views): keep only the item-view coverage assertion whose fixture distinguishes it
This commit is contained in:
morluto authored and GitHub committed 2026-11-15 21:30:45 +08:00
1 parent 21b5c5460d
commit 4bd578cc08
50 files changed
+71 -92

No files matched your search

+1 -4
View File
@@ -98,10 +98,7 @@ export const projectPythonPycView = (
kind: "summary" as const,
view,
summary,
coverage: completeWithinViewCoverage(
code_objects.length,
code_objects.length,
),
coverage: completeWithinViewCoverage(code_objects.length),
});
const names = view.names === undefined ? undefined : new Set(view.names);
const indices =