actor.ts 229 B

1234567891011
  1. import type {Actor} from 'sentry/types/core';
  2. export function ActorFixture(params: Partial<Actor> = {}): Actor {
  3. return {
  4. id: '1',
  5. email: 'foo@example.com',
  6. name: 'Foo Bar',
  7. type: 'user',
  8. ...params,
  9. };
  10. }