autofixData.ts 333 B

12345678910111213
  1. import { AutofixData, AutofixStatus } from 'sentry/components/events/autofix/types';
  2. export function AutofixDataFixture(params: Partial<AutofixData>): AutofixData {
  3. return {
  4. run_id: '1',
  5. status: AutofixStatus.PROCESSING,
  6. completed_at: '',
  7. created_at: '',
  8. steps: [],
  9. repositories: [],
  10. ...params,
  11. };
  12. }