UNPKG

cloudrx

Version:

TypeScript library for streaming cloud provider events using RxJS with automatic persistence and replay capabilities

20 lines 683 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = globalSetup; async function globalSetup(globalConfig) { const isVerbose = globalConfig.verbose || false; const isSilent = globalConfig.silent || false; if (isSilent) { process.env.JEST_LOG_LEVEL = 'silent'; } else if (isVerbose) { process.env.JEST_LOG_LEVEL = 'debug'; } else { process.env.JEST_LOG_LEVEL = 'info'; } if (!isSilent) { console.log(`[Global Setup] Jest flags detected - verbose: ${isVerbose}, silent: ${isSilent}, log level: ${process.env.JEST_LOG_LEVEL}`); } } //# sourceMappingURL=global-setup.js.map