releaseProject.ts 350 B

12345678910111213141516
  1. import type {ReleaseProject} from 'sentry/types/release';
  2. export function ReleaseProjectFixture(
  3. params: Partial<ReleaseProject> = {}
  4. ): ReleaseProject {
  5. return {
  6. id: 2,
  7. name: 'Project Name',
  8. newGroups: 0,
  9. platform: 'android',
  10. platforms: ['android'],
  11. slug: 'project-slug',
  12. hasHealthData: false,
  13. ...params,
  14. };
  15. }