lib/reporters/cli/cli-utils.js
function () {
        var dimension = cliUtils.dimension(),
            // note that similar dimension calculation is in utils.wrapper
            width = ((dimension.exists && (dimension.width > 20)) ? dimension.width : 60) - 6;

        return function (text, indent) {
            return wrap(text, {
                indent: indent,
                width: width,
                cut: true
            });
        };
    }
function () {
        var dimension = cliUtils.dimension(),
            // note that similar dimension calculation is in utils.wrapper
            width = ((dimension.exists && (dimension.width > 20)) ? dimension.width : 60) - 6;

        return function (text, indent) {
            return wrap(text, {
                indent: indent,
                width: width,
                cut: true
            });
        };
    }
function ( ) { var dimension = cliUtils . dimension ( ) , // note that similar dimension calculation is in utils.wrapper width = ( ( dimension . exists && ( dimension . width > 20 ) ) ? dimension . width : 60 ) - 6 ; return function ( text , indent ) { return wrap ( text , { indent : indent , width : width , cut : true } ) ; } ; }
A CLI utility helper method to provide content wrapping functionality for CLI reports.

@returns {Function} - A sub-method to wrap content, given a piece of text, and indent value.
A CLI utility helper method to provide content wrapping functionality for CLI reports .