shortIdQueryResult.tsx 461 B

1234567891011121314151617181920
  1. import {GroupFixture} from 'sentry-fixture/group';
  2. import type {ShortIdResponse} from 'sentry/types/group';
  3. export function ShortIdQueryResultFixture(params = {}): ShortIdResponse {
  4. const group = GroupFixture({
  5. metadata: {
  6. type: 'group type',
  7. value: 'group description',
  8. },
  9. });
  10. return {
  11. organizationSlug: 'org-slug',
  12. projectSlug: 'project-slug',
  13. groupId: group.id,
  14. shortId: 'test-1',
  15. group,
  16. ...params,
  17. };
  18. }