Searched refs:fetchAlertManagerConfig (Results 1 – 6 of 6) sorted by relevance
31 fetchAlertManagerConfig: typeAsJestMock(fetchAlertManagerConfig),175 mocks.api.fetchAlertManagerConfig.mockResolvedValue({244 mocks.api.fetchAlertManagerConfig.mockImplementation(() => {302 mocks.api.fetchAlertManagerConfig.mockResolvedValue({346 mocks.api.fetchAlertManagerConfig.mockRejectedValue({383 mocks.api.fetchAlertManagerConfig.mockImplementation(() => {389 expect(mocks.api.fetchAlertManagerConfig).toHaveBeenCalled();452 mocks.api.fetchAlertManagerConfig.mockImplementation(() => {458 expect(mocks.api.fetchAlertManagerConfig).toHaveBeenCalled();509 expect(mocks.api.fetchAlertManagerConfig).not.toHaveBeenCalled();[all …]
10 import { updateAlertManagerConfig, fetchAlertManagerConfig, fetchStatus, testReceivers } from './ap…37 fetchConfig: typeAsJestMock(fetchAlertManagerConfig),
5 fetchAlertManagerConfig,42 fetchConfig: typeAsJestMock(fetchAlertManagerConfig),
25 fetchAlertManagerConfig,93 () => fetchAlertManagerConfig(alertManagerSourceName),483 const latestConfig = await fetchAlertManagerConfig(alertManagerSourceName);
22 export async function fetchAlertManagerConfig(alertManagerSourceName: string): Promise<AlertManager… function
1 …fetchAlertManagerConfig(alertManagerSourceName: string): Promise<AlertManagerCortexConfig> {\n tr…