pullRequest.tsx 382 B

12345678910111213
  1. import {Repository} from 'sentry-fixture/repository';
  2. import {PullRequest as PullRequestType} from 'sentry/types';
  3. export function PullRequest(params: Partial<PullRequestType> = {}): PullRequestType {
  4. return {
  5. id: '3',
  6. repository: Repository(),
  7. title: 'Fix first issue',
  8. externalUrl: 'https://example.github.com/example/repo-name/pulls/3',
  9. ...params,
  10. };
  11. }