Skip to content

test: cover path coverage utilities - #997

Open
mgalore wants to merge 1 commit into
OWASP:mainfrom
mgalore:test/issue-995-path-coverage
Open

test: cover path coverage utilities#997
mgalore wants to merge 1 commit into
OWASP:mainfrom
mgalore:test/issue-995-path-coverage

Conversation

@mgalore

@mgalore mgalore commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

What changed and why

Adds focused unit coverage for calculatePathCoverage and formatDependencyPath, including complete/partial coverage, missing or empty paths, order- and length-sensitive matching, and formatting edge cases.

Closes #995

Verification

  • npm test -- tests/utils/path-coverage.test.ts
  • npm run lint:tests
  • npm run build
  • npm test (upstream baseline has the same 6 offline-advisory-dependent failing suites / 29 failures; the new focused suite passes)

@mgalore
mgalore requested a review from sonukapoor as a code owner August 14, 2026 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test: add unit coverage for src/utils/path-coverage.ts

1 participant