add featureDiscoveryServiceFactory test

Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
This commit is contained in:
Vincenzo Scamporlino
2023-08-02 13:38:07 +02:00
committed by Philipp Hugenroth
parent 83ae67710a
commit 95676ce51a
6 changed files with 127 additions and 23 deletions
+4 -1
View File
@@ -22,7 +22,10 @@ export interface FeatureDiscoveryService {
getBackendFeatures(): Promise<{ features: Array<BackendFeature> }>;
}
/** @alpha */
/**
* An optional service that can be used to dynamically load in additional BackendFeatures at runtime.
* @alpha
*/
export const featureDiscoveryServiceRef =
createServiceRef<FeatureDiscoveryService>({
id: 'core.featureDiscovery',