globalSelection.ts 367 B

123456789101112131415
  1. import type {PageFilters} from 'sentry/types/core';
  2. export function GlobalSelectionFixture(params: Partial<PageFilters> = {}): PageFilters {
  3. return {
  4. projects: [1],
  5. environments: ['production', 'staging'],
  6. datetime: {
  7. start: '2019-10-09T11:18:59',
  8. end: '2019-09-09T11:18:59',
  9. period: '',
  10. utc: true,
  11. },
  12. ...params,
  13. };
  14. }