skipWithoutGitHubAuth skips the test if GitHub authentication is not available
(t *testing.T)
| 86 | |
| 87 | // skipWithoutGitHubAuth skips the test if GitHub authentication is not available |
| 88 | func skipWithoutGitHubAuth(t *testing.T) { |
| 89 | t.Helper() |
| 90 | authCmd := exec.Command("gh", "auth", "status") |
| 91 | if err := authCmd.Run(); err != nil { |
| 92 | t.Skip("Skipping test: GitHub authentication not available (gh auth status failed)") |
| 93 | } |
| 94 | } |
| 95 | |
| 96 | // --- Ref Resolution Integration Tests --- |
| 97 |
no test coverage detected