Files
2024-02-15 17:01:50 +00:00

31 lines
833 B
TypeScript

import {EventOrGroupType, GroupTombstone} from 'sentry/types';
export function TombstonesFixture(params = []): GroupTombstone[] {
return [
{
culprit: 'poll(../../sentry/scripts/views.js)',
level: 'error',
actor: {
username: '[email protected]',
id: '1',
name: 'billy vong',
avatarUrl:
'https://secure.gravatar.com/avatar/7b544e8eb9d08ed777be5aa82121155a?s=32&d=mm',
avatar: {
avatarUuid: '483ed7478a2248d59211f538c2997e0b',
avatarType: 'letter_avatar',
},
email: '[email protected]',
ip_address: '0.0.0.0',
},
type: EventOrGroupType.ERROR,
id: '1',
metadata: {
type: 'TypeError',
value: "Object [object Object] has no method 'updateFrom'",
},
},
...params,
];
}