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