import { TimeSeries } from "sentry/views/dashboards/widgets/common/types"; export function TimeSeriesFixture(params: Partial = {}): TimeSeries { return { field: 'eps()', meta: { fields: { 'eps()': 'rate', }, units: { 'eps()': '1/second', }, }, data: [ { value: 7456.966666666666, timestamp: '2024-10-24T15:00:00-04:00', }, { value: 8217.8, timestamp: '2024-10-24T15:30:00-04:00', }, ], ...params, }; }