accessRequest.ts 359 B

12345678910111213
  1. import {MemberFixture} from 'sentry-fixture/member';
  2. import {TeamFixture} from 'sentry-fixture/team';
  3. import type {AccessRequest} from 'sentry/types/organization';
  4. export function AccessRequestFixture(params: Partial<AccessRequest> = {}): AccessRequest {
  5. return {
  6. id: '123',
  7. member: MemberFixture(),
  8. team: TeamFixture(),
  9. ...params,
  10. };
  11. }