UNPKG

@villedemontreal/jwt-validator

Version:
13 lines (11 loc) 391 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. */ export function setTestingConfigurations(): void { init(getTestingLoggerCreator(), () => 'test-cid', 'https://api.dev.interne.montreal.ca'); }