vstsIntegrationProvider.tsx 808 B

12345678910111213141516171819202122232425262728293031
  1. import {IntegrationProvider} from 'sentry/types/integrations';
  2. export function VstsIntegrationProviderFixture(
  3. params: Partial<IntegrationProvider> = {}
  4. ): IntegrationProvider {
  5. return {
  6. key: 'vsts',
  7. name: 'VSTS',
  8. canAdd: true,
  9. features: [],
  10. slug: 'vsts',
  11. canDisable: false,
  12. metadata: {
  13. description: '*markdown* formatted VSTS _description_',
  14. features: [
  15. {description: '*markdown* feature description', featureGate: '', featureId: 2},
  16. ],
  17. author: 'Frank',
  18. noun: 'Instance',
  19. issue_url: 'http://example.com/vsts_issue_url',
  20. source_url: 'http://example.com/vsts_source_url',
  21. aspects: {},
  22. },
  23. setupDialog: {
  24. url: '/vsts-integration-setup-uri/',
  25. width: 100,
  26. height: 100,
  27. },
  28. ...params,
  29. };
  30. }