plugin.ts 620 B

1234567891011121314151617181920212223242526
  1. import type {Plugin} from 'sentry/types/integrations';
  2. export function PluginFixture(params: Partial<Plugin> = {}): Plugin {
  3. return {
  4. author: {url: 'https://github.com/getsentry/sentry', name: 'Sentry Team'},
  5. enabled: false,
  6. isHidden: false,
  7. id: 'amazon-sqs',
  8. name: 'Amazon SQS',
  9. slug: 'amazon-sqs',
  10. version: '8.23.0.dev0',
  11. hasConfiguration: true,
  12. canDisable: true,
  13. contexts: [],
  14. doc: '',
  15. featureDescriptions: [],
  16. features: [],
  17. isDeprecated: false,
  18. isTestable: false,
  19. metadata: {},
  20. shortName: '',
  21. status: '',
  22. type: '',
  23. ...params,
  24. };
  25. }