plugin.ts 636 B

123456789101112131415161718192021222324252627
  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. assets: [],
  12. hasConfiguration: true,
  13. canDisable: true,
  14. contexts: [],
  15. doc: '',
  16. featureDescriptions: [],
  17. features: [],
  18. isDeprecated: false,
  19. isTestable: false,
  20. metadata: {},
  21. shortName: '',
  22. status: '',
  23. type: '',
  24. ...params,
  25. };
  26. }