123456789101112131415161718192021 |
- import {Event} from 'sentry-fixture/event';
- import type {EventIdResponse} from 'sentry/types';
- export function EventIdQueryResult(params = {}): EventIdResponse {
- const event = Event({
- metadata: {
- type: 'event type',
- value: 'event description',
- },
- });
- return {
- organizationSlug: 'org-slug',
- projectSlug: 'project-slug',
- groupId: event.groupID || '',
- eventId: event.eventID,
- event,
- ...params,
- };
- }
|