mockApis.config
Home > @backstage/test-utils
> mockApis
> config
Mock helpers for ConfigApi.
Signature:
namespace config
Functions
Function |
Description |
---|---|
Creates a factory for a fake implementation of ConfigApi with optional configuration data supplied. | |
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. |