mockApis.config.mock()
Home > @backstage/test-utils
> mockApis
> config
> mock
Creates a mock implementation of ConfigApi. All methods are replaced with jest mock functions, and you can optionally pass in a subset of methods with an explicit implementation.
Signature:
mock: (partialImpl?: Partial<import("@backstage/config").Config> | undefined) => ApiMock<import("@backstage/config").Config>