Skip to content

test: github + notifications 패키지 테스트 커버리지 추가 #191

@justn-hyeok

Description

@justn-hyeok

Summary

github 패키지 12개 소스 파일, notifications 패키지 4개 소스 파일 모두 패키지 내 독립 테스트 0개.

github (12개 파일)

우선순위순:

  1. diff-parser.ts — diff 파싱 (파이프라인 입력 핵심)
  2. poster.ts — PR 코멘트 게시 (테스트 0건, 빈 catch 블록 있음)
  3. sarif.ts — SARIF 포맷 변환 (보안 도구 연동)
  4. mapper.ts — 이슈→라인 매핑 + 요약 생성
  5. dedup.ts — 중복 코멘트 방지
  6. action.ts — GitHub Actions 엔트리
  7. client.ts — Octokit 클라이언트
  8. pr-diff.ts — PR diff 가져오기
  9. comment.ts, session-diff.ts, dryrun-preview.ts — dead code 여부에 따라 (chore: 죽은 모듈 및 dead export 삭제 #186)

notifications (4개 파일)

  1. generic-webhook.ts — HMAC 서명 검증 (#189에서 보안 테스트 별도)
  2. webhook.ts — Slack/Discord 웹훅
  3. discord-live.ts — dead code 여부에 따라 (chore: 죽은 모듈 및 dead export 삭제 #186)
  4. event-stream.ts — dead code 여부에 따라 (chore: 죽은 모듈 및 dead export 삭제 #186)

참고

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions