INNER CODE UNIT · JavaScript
Cli
codeceptjs/CodeceptJS · lib/mocha/cli.js:34
class Cli extends Base {
constructor(runner, opts) {
super(runner)
let level = 0
this.loadedTests = []
opts = opts.reporterOptions || opts
if (opts.steps) level = 1
if (opts.debug) level = 2
if (opts.verbose) level = 3
output.level(level)
output.print(`CodeceptJS v${codeceptVersion} ${output.standWithUkraine()}`)
output.print(`Using test root "${store.codeceptDir}"`)
const showSteps = level >= 1
if (level >= 2) {
// Load container asynchronously to avoid circular dependency
getContainer().then(Container => {