Skip to main content
Glama
hasCompleteChangeLog.test.ts637 B
import { hasCompleteChangeLog } from '../hasCompleteChangeLog' import type { IssueChangeLog } from '../../../types/issue.types' describe('repositories/jiraApi/issueChangeLogs/hasCompleteChangeLog', function () { it('returns true when the complete change log is returned with the issue', function () { expect(hasCompleteChangeLog({ total: 5, maxResults: 5 } as unknown as IssueChangeLog)).toBe(true) }) it('returns false when the there are more change log items than were returned with the initial response', function () { expect(hasCompleteChangeLog({ total: 6, maxResults: 5 } as unknown as IssueChangeLog)).toBe(false) }) })

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tbreeding/jira-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server