ComplianceRegistry.all() in src/index.ts has zero test coverage — and the gap is invisible because the jest config excludes index.ts from coverage collection.
What to do
- Add a test that
ComplianceRegistry.all() returns the S3 compliance document (and stays in sync as future resources register — e.g. assert every entry has resource, version, and a non-empty controls array).
- Remove
index.ts from the jest coveragePathIgnorePatterns/collectCoverageFrom exclusion so real logic there can't hide from coverage again. If the exclusion exists only for the barrel re-exports, consider moving ComplianceRegistry into its own module instead.
Acceptance criteria
ComplianceRegistry.all() is covered, and coverage reporting includes the file that defines it.
ComplianceRegistry.all()insrc/index.tshas zero test coverage — and the gap is invisible because the jest config excludesindex.tsfrom coverage collection.What to do
ComplianceRegistry.all()returns the S3 compliance document (and stays in sync as future resources register — e.g. assert every entry hasresource,version, and a non-emptycontrolsarray).index.tsfrom the jestcoveragePathIgnorePatterns/collectCoverageFromexclusion so real logic there can't hide from coverage again. If the exclusion exists only for the barrel re-exports, consider movingComplianceRegistryinto its own module instead.Acceptance criteria
ComplianceRegistry.all()is covered, and coverage reporting includes the file that defines it.