incidentStats.ts 266 B

123456789101112
  1. import {IncidentStats} from 'sentry/views/alerts/types';
  2. export function IncidentStatsFixture(params: Partial<IncidentStats> = {}): IncidentStats {
  3. return {
  4. totalEvents: 100,
  5. uniqueUsers: 20,
  6. eventStats: {
  7. data: [],
  8. },
  9. ...params,
  10. };
  11. }