missingMembers.ts 663 B

1234567891011121314151617181920212223242526272829303132
  1. import type {MissingMember} from 'sentry/types/organization';
  2. export function MissingMembersFixture(params = []): MissingMember[] {
  3. return [
  4. {
  5. commitCount: 6,
  6. email: 'hello@sentry.io',
  7. externalId: 'github:hello',
  8. },
  9. {
  10. commitCount: 5,
  11. email: 'abcd@sentry.io',
  12. externalId: 'github:abcd',
  13. },
  14. {
  15. commitCount: 4,
  16. email: 'hola@sentry.io',
  17. externalId: 'github:hola',
  18. },
  19. {
  20. commitCount: 3,
  21. email: 'test@sentry.io',
  22. externalId: 'github:test',
  23. },
  24. {
  25. commitCount: 2,
  26. email: 'five@sentry.io',
  27. externalId: 'github:five',
  28. },
  29. ...params,
  30. ];
  31. }