autofixProgressItem.ts 326 B

12345678910111213
  1. import {AutofixProgressItem} from 'sentry/components/events/autofix/types';
  2. export function AutofixProgressItemFixture(
  3. params: Partial<AutofixProgressItem>
  4. ): AutofixProgressItem {
  5. return {
  6. message: 'Example log message',
  7. timestamp: '2024-01-01T00:00:00',
  8. type: 'INFO',
  9. data: null,
  10. ...params,
  11. };
  12. }