12345678910111213141516171819202122232425 |
- import {PluginFixture} from 'sentry-fixture/plugin';
- import type {Plugin} from 'sentry/types/integrations';
- export function PluginsFixture(params: Plugin[] = []): Plugin[] {
- return [
- PluginFixture(),
- PluginFixture({
- enabled: true,
- id: 'github',
- name: 'GitHub',
- slug: 'github',
- canDisable: false,
- hasConfiguration: false,
- }),
- PluginFixture({
- enabled: false,
- isHidden: true,
- name: 'Hidden Plugin',
- slug: 'hidden-plugin',
- id: 'hidden-plugin',
- }),
- ...params,
- ];
- }
|