Files
2024-02-15 17:01:50 +00:00

26 lines
645 B
TypeScript

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,
};
}