UNPKG

@villedemontreal/http-request

Version:

HTTP utilities - send HTTP requests with proper headers, etc.

15 lines (13 loc) 430 B
import { init } from '../config/init'; import { getTestingLoggerCreator } from '../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! */ export function setTestingConfigurations(caseSensitive = false): void { init(getTestingLoggerCreator(), () => 'test-cid', caseSensitive); }