maxgui/src/components/common/DataTable/__tests__/DataTable.spec.js
/**
 * This function mockup processing tree data
 * @return {Array} Tree data array that is used to display in data-table
 */
This function mockup processing tree data
@return {Array} Tree data array that is used to display in data-table
This function mockup processing tree data @return { Array } Tree data array that is used to display in data - table
function mockupTreeData() {
    const DUMMY_OBJ_PARAMS = {
        root_node: {
            node_child: { grand_child: { great_grand_child: 'great_grand_child' } },
            node_child_1: 'node_child_1 value',
        },
    }
    return Vue.prototype.$help.objToTree({
        obj: DUMMY_OBJ_PARAMS,
        keepPrimitiveValue: true,
        level: 0,
    })
}
function mockupTreeData ( ) { const DUMMY_OBJ_PARAMS = { root_node : { node_child : { grand_child : { great_grand_child : 'great_grand_child' } } , node_child_1 : 'node_child_1 value' , } , } return Vue . prototype . $help . objToTree ( { obj : DUMMY_OBJ_PARAMS , keepPrimitiveValue : true , level : 0 , } ) }
This function mockup processing tree data
 @return {Array} Tree data array that is used to display in data-table
This function mockup processing tree data @return { Array } Tree data array that is used to display in data - table