mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-10-30 14:49:14 +00:00
35 lines
771 B
TypeScript
35 lines
771 B
TypeScript
import {GroupIntegration} from 'sentry/types';
|
|
|
|
export function JiraIntegrationFixture(
|
|
params: Partial<GroupIntegration> = {}
|
|
): GroupIntegration {
|
|
return {
|
|
domainName: 'jira.com/test-integration',
|
|
icon: 'http://jira.example.com/integration_icon.png',
|
|
id: '2',
|
|
name: 'Jira Test Integration',
|
|
provider: {
|
|
name: 'Jira',
|
|
key: 'jira',
|
|
canAdd: true,
|
|
features: [],
|
|
aspects: {
|
|
alerts: [
|
|
{
|
|
type: 'warning',
|
|
text: 'This is a an alert example',
|
|
},
|
|
],
|
|
},
|
|
canDisable: false,
|
|
slug: '',
|
|
},
|
|
accountType: '',
|
|
gracePeriodEnd: '',
|
|
organizationIntegrationStatus: 'active',
|
|
status: 'active',
|
|
externalIssues: [],
|
|
...params,
|
|
};
|
|
}
|