autofixResult.tsx 361 B

123456789101112
  1. import {AutofixResult} from 'sentry/components/events/autofix/types';
  2. export function AutofixResultFixture(params: Partial<AutofixResult>): AutofixResult {
  3. return {
  4. title: 'Fixed the bug!',
  5. pr_number: 123,
  6. description: 'This is a description',
  7. pr_url: 'https://github.com/pulls/1234',
  8. repo_name: 'getsentry/sentry',
  9. ...params,
  10. };
  11. }