UNPKG

@grafana/alerting

Version:

Grafana Alerting Library – Build vertical integrations on top of the industry-leading alerting solution

17 lines (14 loc) 551 B
import { http, HttpResponse } from 'msw'; import { getAPIBaseURLForMocks } from '../../../../../../mocks/util.mjs'; import { GROUP, VERSION } from '../../../const.mjs'; "use strict"; function deletecollectionReceiverHandler(data) { return http.delete(getAPIBaseURLForMocks(GROUP, VERSION, "/receivers"), function handler(info) { if (typeof data === "function") { return data(info); } return HttpResponse.json(data); }); } export { deletecollectionReceiverHandler }; //# sourceMappingURL=deletecollectionReceiverHandler.mjs.map