platformExternalIssue.tsx 326 B

1234567891011121314
  1. import {PlatformExternalIssue} from 'sentry/types';
  2. export function PlatformExternalIssueFixture(
  3. params: Partial<PlatformExternalIssue> = {}
  4. ): PlatformExternalIssue {
  5. return {
  6. id: '1',
  7. serviceType: 'foo',
  8. displayName: 'project#1',
  9. webUrl: 'https://example.com/1',
  10. issueId: '',
  11. ...params,
  12. };
  13. }