mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
21 lines
450 B
TypeScript
21 lines
450 B
TypeScript
import {GroupFixture} from 'sentry-fixture/group';
|
|
|
|
import {ShortIdResponse} from 'sentry/types';
|
|
|
|
export function ShortIdQueryResultFixture(params = {}): ShortIdResponse {
|
|
const group = GroupFixture({
|
|
metadata: {
|
|
type: 'group type',
|
|
value: 'group description',
|
|
},
|
|
});
|
|
return {
|
|
organizationSlug: 'org-slug',
|
|
projectSlug: 'project-slug',
|
|
groupId: group.id,
|
|
shortId: 'test-1',
|
|
group,
|
|
...params,
|
|
};
|
|
}
|