mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
22 lines
472 B
TypeScript
22 lines
472 B
TypeScript
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,
|
|
};
|
|
}
|