node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js
/**
 * Collect all children
 * @param nodes
 * @param children
 */
Collect all children
@param nodes
@param children
Collect all children @param nodes @param children
function aggregateChildren(nodes, children) {
    if (children && Array.isArray(children)) {
        var reversedNodes = __spreadArray([], children, true).reverse().filter(nodesAsObject);
        reversedNodes.forEach(function (node) {
            if (Array.isArray(node)) {
                aggregateChildren(nodes, node);
            }
            else {
                nodes.unshift(node);
            }
        });
    }
}
function aggregateChildren ( nodes , children ) { if ( children && Array . isArray ( children ) ) { var reversedNodes = __spreadArray ( [ ] , children , true ) . reverse ( ) . filter ( nodesAsObject ) ; reversedNodes . forEach ( function ( node ) { if ( Array . isArray ( node ) ) { aggregateChildren ( nodes , node ) ; } else { nodes . unshift ( node ) ; } } ) ; } }
Collect all children
 @param nodes
 @param children
Collect all children @param nodes @param children