accountEmails.tsx 454 B

12345678910111213141516171819202122
  1. import type {UserEmail} from 'sentry/types';
  2. export function AccountEmailsFixture(params: UserEmail[] = []): UserEmail[] {
  3. return [
  4. {
  5. email: 'primary@example.com',
  6. isPrimary: true,
  7. isVerified: true,
  8. },
  9. {
  10. email: 'secondary1@example.com',
  11. isPrimary: false,
  12. isVerified: true,
  13. },
  14. {
  15. email: 'secondary2@example.com',
  16. isPrimary: false,
  17. isVerified: false,
  18. },
  19. ...params,
  20. ];
  21. }