mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
26 lines
538 B
TypeScript
26 lines
538 B
TypeScript
import {PluginFixture} from 'sentry-fixture/plugin';
|
|
|
|
import {Plugin} from 'sentry/types';
|
|
|
|
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,
|
|
];
|
|
}
|