backend-test-utils: mark mockConfigFactory as alpha
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -16,7 +16,7 @@ import { ServiceRef } from '@backstage/backend-plugin-api';
|
||||
// @public (undocumented)
|
||||
export function isDockerDisabledForTests(): boolean;
|
||||
|
||||
// @public (undocumented)
|
||||
// @alpha (undocumented)
|
||||
export const mockConfigFactory: (
|
||||
options?:
|
||||
| {
|
||||
|
||||
@@ -21,7 +21,7 @@ import {
|
||||
import { ConfigReader } from '@backstage/config';
|
||||
import { JsonObject } from '@backstage/types';
|
||||
|
||||
/** @public */
|
||||
/** @alpha */
|
||||
export const mockConfigFactory = createServiceFactory(
|
||||
(options?: { data?: JsonObject }) => ({
|
||||
service: coreServices.config,
|
||||
|
||||
@@ -80,7 +80,7 @@ class MockLogger implements RootLoggerService {
|
||||
}
|
||||
}
|
||||
|
||||
/** @public */
|
||||
/** @alpha */
|
||||
export const mockRootLoggerService = createServiceFactory({
|
||||
service: coreServices.rootLogger,
|
||||
deps: {},
|
||||
|
||||
@@ -30,6 +30,7 @@ class TokenManagerMock implements TokenManager {
|
||||
}
|
||||
}
|
||||
|
||||
/** @alpha */
|
||||
export const mockTokenManagerFactory = createServiceFactory({
|
||||
service: coreServices.tokenManager,
|
||||
deps: {},
|
||||
|
||||
Reference in New Issue
Block a user