export const getConfigurationFilePathsMock = jest . fn ( ) ; jest . doMock ( './utils/get_config_file_paths' , ( ) => ( { getConfigurationFilePaths : getConfigurationFilePathsMock , } ) ) ; export const getConfigFromFilesMock = jest . fn ( ) ; jest . doMock ( './utils/read_config' , ( ) => ( { getConfigFromFiles : getConfigFromFilesMock , } ) ) ; export const applyConfigOverridesMock = jest . fn ( ) ; jest . doMock ( './utils/apply_config_overrides' , ( ) => ( { applyConfigOverrides : applyConfigOverridesMock , } ) ) ; export const ApmConfigurationMock = jest . fn ( ) ; jest . doMock ( './config' , ( ) => ( { ApmConfiguration : ApmConfigurationMock , } ) ) ; export const resetAllMocks = ( ) => { getConfigurationFilePathsMock . mockReset ( ) ; getConfigFromFilesMock . mockReset ( ) ; applyConfigOverridesMock . mockReset ( ) ; ApmConfigurationMock . mockReset ( ) ; } ;