AddDataSource: Added missing phantom plugin (#21406)

* AddDataSource: Added missing phantom plugin

* Fixed test
This commit is contained in:
Torkel Ödegaard
2020-01-09 08:26:32 +01:00
committed by GitHub
parent baba1634b8
commit fe61f6b7a7
3 changed files with 9 additions and 1 deletions

View File

@@ -51,6 +51,6 @@ describe('buildCategories', () => {
it('should add enterprise phantom plugins', () => {
expect(categories[4].title).toBe('Enterprise plugins');
expect(categories[4].plugins.length).toBe(5);
expect(categories[4].plugins.length).toBe(6);
});
});

View File

@@ -116,6 +116,12 @@ function getEnterprisePhantomPlugins(): DataSourcePluginMeta[] {
name: 'DataDog',
imgUrl: 'public/img/plugins/datadog.png',
}),
getPhantomPlugin({
id: 'grafana-newrelic-datasource',
description: 'New Relic integration & data source',
name: 'New Relic',
imgUrl: 'public/img/plugins/newrelic.svg',
}),
];
}