Skip to content

fix: PR-Reference skill reports 0% test coverage for two of three scripts #694

@katriendg

Description

@katriendg

Issue Description

When running the full Pester test suite, list-changed-files.ps1 and read-diff.ps1
in the PR reference skill report 0% code coverage despite all tests passing. Running
each script's tests in isolation shows expected coverage (90%+).

The root cause appears to be a duplicate function name (Get-RepositoryRoot) defined
in all three scripts, which interferes with Pester's coverage instrumentation when
tests run together.

Additional Context

No response

Metadata

Metadata

Assignees

Labels

testingTest infrastructure and test files

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions