Skip to content

test: add tests for GitHub, Jira, and Linear sync sources#8

Merged
fyodoriv merged 1 commit into
mainfrom
test/sync-integrations
Apr 8, 2026
Merged

test: add tests for GitHub, Jira, and Linear sync sources#8
fyodoriv merged 1 commit into
mainfrom
test/sync-integrations

Conversation

@fyodoriv
Copy link
Copy Markdown
Collaborator

@fyodoriv fyodoriv commented Apr 8, 2026

Summary

  • Added 78 new tests across 3 test files for sync integration sources
  • github.test.ts (27 tests): priority mapping, tag extraction, auth validation, execSync mocking
  • jira.test.ts (25 tests): env validation, auth types, API calls, priority mapping, HTTP errors
  • linear.test.ts (26 tests): env validation, GraphQL calls, priority mapping, tag normalization
  • Scouted and added fix-github-priority-demotion task for a bug where low/p3 labels are ignored

Test plan

  • All 136 CLI tests pass (78 new + 58 existing)
  • All workspace tests pass

Generated with Devin

78 new tests covering:
- GitHub: priority mapping, tag extraction, auth validation,
  issue mapping, empty results, custom labels/repos
- Jira: env validation, auth types (Basic/Bearer), API calls,
  priority mapping, HTTP error handling, custom JQL
- Linear: env validation, GraphQL calls, priority mapping,
  tag normalization, error responses, custom filters

Scouted: added fix-github-priority-demotion task for
low/p3 labels being silently ignored by promote-only logic.

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@fyodoriv fyodoriv force-pushed the test/sync-integrations branch from 5320ee2 to 78ce07f Compare April 8, 2026 13:19
@fyodoriv fyodoriv merged commit a722dad into main Apr 8, 2026
3 checks passed
@fyodoriv fyodoriv deleted the test/sync-integrations branch April 8, 2026 13:22
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.

1 participant