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