accountEmails.tsx 459 B

12345678910111213141516171819202122
  1. import type {UserEmail} from 'sentry/types/user';
  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. }