sentryAppInstallation.tsx 449 B

123456789101112131415161718
  1. import type {SentryAppInstallation} from 'sentry/types/integrations';
  2. export function SentryAppInstallationFixture(
  3. params: Partial<SentryAppInstallation> = {}
  4. ): SentryAppInstallation {
  5. return {
  6. uuid: 'd950595e-cba2-46f6-8a94-b79e42806f98',
  7. app: {
  8. slug: 'sample-app',
  9. uuid: 'f4d972ba-1177-4974-943e-4800fe8c7d05',
  10. },
  11. organization: {
  12. slug: 'the-best-org',
  13. },
  14. status: 'installed',
  15. ...params,
  16. };
  17. }