mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
18 lines
398 B
TypeScript
18 lines
398 B
TypeScript
import {UserFixture} from 'sentry-fixture/user';
|
|
|
|
import {ActivityTypeDraft} from 'sentry/views/alerts/types';
|
|
|
|
export function IncidentActivityFixture(
|
|
params: Partial<ActivityTypeDraft> = {}
|
|
): ActivityTypeDraft {
|
|
return {
|
|
comment: 'incident activity comment',
|
|
type: 3,
|
|
dateCreated: '',
|
|
user: UserFixture(),
|
|
id: '123',
|
|
incidentIdentifier: '999',
|
|
...params,
|
|
};
|
|
}
|