autofixData.ts 306 B

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