12345678910111213141516171819202122232425 |
- import {SentryApp} from 'sentry/types';
- export function SentryAppFixture(params: Partial<SentryApp> = {}): SentryApp {
- return {
- name: 'Sample App',
- author: 'Sentry',
- slug: 'sample-app',
- scopes: ['project:read'],
- events: [],
- status: 'unpublished',
- uuid: '123456123456123456123456',
- webhookUrl: 'https://example.com/webhook',
- redirectUrl: 'https://example/com/setup',
- isAlertable: false,
- clientId: 'client-id',
- clientSecret: 'client-secret',
- overview: 'This is an app.',
- schema: {},
- featureData: [],
- popularity: 3,
- verifyInstall: false,
- avatars: [],
- ...params,
- };
- }
|