firstsun-dev_git-files-sync/tests/services
ClaudiaFang 556f9e930d refactor: eliminate code duplication flagged by SonarCloud
- Move contentsEqual to src/utils/path.ts (shared by sync-manager + SyncStatusView)
- Replace private isBinary in both files with isBinaryPath from path.ts
- Extract fileItemCallbacks() in SyncStatusView to remove duplicate callback objects
- Create tests/services/service-test-helpers.ts with shared testConnection,
  getRepoGitignores, getFile error handling, getLastRequestCall helpers
- Refactor github/gitlab service tests to use shared helpers

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-20 09:09:02 +00:00
..
git-service-base.test.ts refactor: consolidate duplicated methods into BaseGitService (#17) 2026-04-26 10:46:44 +08:00
github-service.test.ts refactor: eliminate code duplication flagged by SonarCloud 2026-05-20 09:09:02 +00:00
gitlab-service.test.ts refactor: eliminate code duplication flagged by SonarCloud 2026-05-20 09:09:02 +00:00
service-test-helpers.ts refactor: eliminate code duplication flagged by SonarCloud 2026-05-20 09:09:02 +00:00