lib/html_formatter.js
function generateReport(html) {
        var template = grunt.file.read(templates.reportTemplate);
        return grunt.template.process(template, {
            data: {
                scenarios: html
            }
        });
    }
function generateReport(html) {
        var template = grunt.file.read(templates.reportTemplate);
        return grunt.template.process(template, {
            data: {
                scenarios: html
            }
        });
    }
function generateReport ( html ) { var template = grunt . file . read ( templates . reportTemplate ) ; return grunt . template . process ( template , { data : { scenarios : html } } ) ; }
Generate report from report template
@param html - concatenated all elements
@returns string which contains html code of report
Generate report from report template