added tests for RadarPage
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user