spec/browser/nodeunit.js
function (setUp, tearDown, group) {
    var tests = {};
    var keys = _keys(group);
    for (var i = 0; i < keys.length; i += 1) {
        var k = keys[i];
        if (typeof group[k] === 'function') {
            tests[k] = wrapTest(setUp, tearDown, group[k]);
        }
        else if (typeof group[k] === 'object') {
            tests[k] = wrapGroup(setUp, tearDown, group[k]);
        }
    }
    return tests;
}
function (setUp, tearDown, group) {
    var tests = {};
    var keys = _keys(group);
    for (var i = 0; i < keys.length; i += 1) {
        var k = keys[i];
        if (typeof group[k] === 'function') {
            tests[k] = wrapTest(setUp, tearDown, group[k]);
        }
        else if (typeof group[k] === 'object') {
            tests[k] = wrapGroup(setUp, tearDown, group[k]);
        }
    }
    return tests;
}
function ( setUp , tearDown , group ) { var tests = { } ; var keys = _keys ( group ) ; for ( var i = 0 ; i < keys . length ; i += 1 ) { var k = keys [ i ] ; if ( typeof group [ k ] === 'function' ) { tests [ k ] = wrapTest ( setUp , tearDown , group [ k ] ) ; } else if ( typeof group [ k ] === 'object' ) { tests [ k ] = wrapGroup ( setUp , tearDown , group [ k ] ) ; } } return tests ; }
Wraps a group of tests with setUp and tearDown functions.
Used by testCase.

@param {Function} setUp
@param {Function} tearDown
@param {Object} group
@api private
Wraps a group of tests with setUp and tearDown functions . Used by testCase .