added tests for RadarPage

This commit is contained in:
Bilawal Hameed
2020-04-24 14:42:19 +02:00
parent f695b485c8
commit 4faf199f72
12 changed files with 468 additions and 189 deletions
+8
View File
@@ -24,11 +24,18 @@ import {
featureFlagsApiRef,
FeatureFlags,
} from '@backstage/core';
import {
lighthouseApiRef,
LighthouseRestApi,
} from '@backstage/plugin-lighthouse';
import {
techRadarApiRef,
TechRadar,
loadSampleData,
} from '@backstage/plugin-tech-radar';
const builder = ApiRegistry.builder();
export const alertApiForwarder = new AlertApiForwarder();
@@ -40,5 +47,6 @@ builder.add(errorApiRef, errorApiForwarder);
builder.add(featureFlagsApiRef, new FeatureFlags());
builder.add(lighthouseApiRef, new LighthouseRestApi('http://localhost:3003'));
builder.add(techRadarApiRef, new TechRadar(1800, 800, loadSampleData));
export default builder.build() as ApiHolder;