pullRequest.tsx 407 B

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