d.once('error', function (err: Error) { console.error(err.stack || err); _suman.writeTestError(err.stack || err); d.exit(); process.nextTick(function () { err = new Error('Suman usage error => Error acquiring IOC deps => \n' + (err.stack || err)); err.sumanFatal = true; err.sumanExitCode = constants.EXIT_CODES.IOC_DEPS_ACQUISITION_ERROR; _suman.log.error(err.stack || err); gracefulExit(err, null); }); });
d.run(function acquireIocDepsDomainRun() { acquireIocDeps(suman, iocDepNames, suite, {}, function (err: any, iocDeps: IInjectionDeps) { if (err) { _suman.log.error('Error acquiring IoC deps:', err.stack || err); return process.exit(constants.EXIT_CODES.ERROR_ACQUIRING_IOC_DEPS); } suite.ioc = iocDeps; let mappedDeps: Array<any> = createInjector(suite, deps); try { d.exit(); } finally { process.nextTick(startWholeShebang, mappedDeps); } }); });
d.exit(); process.nextTick(gracefulExit, { message: $err.message || $err, process.exit(constants.EXIT_CODES.DELAY_FUNCTION_TIMED_OUT); }, _suman.weAreDebugging ? 5000000 : 11000); ' but the resume method was never referenced, so your test cases would never be invoked before timing out.').stack + '\n =>' + str); process.exit(constants.EXIT_CODES.DELAY_NOT_REFERENCED); });