@villedemontreal/http-request
Version:
HTTP utilities - send HTTP requests with proper headers, etc.
17 lines • 620 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.setTestingConfigurations = setTestingConfigurations;
const init_1 = require("../config/init");
const logger_1 = require("../utils/logger");
/**
* Call this when your need to set
* *Testing* configurations to the current
* library, without the need for a calling code
* to do so.
*
* A test Correlation Id will be used!
*/
function setTestingConfigurations(caseSensitive = false) {
(0, init_1.init)((0, logger_1.getTestingLoggerCreator)(), () => 'test-cid', caseSensitive);
}
//# sourceMappingURL=testingConfigurations.js.map