code: function createSync(data, opts) {
    const { html, reportOptions } = prepare(data, opts);
    const { autoOpen, htmlFile } = reportOptions;
    fs.outputFileSync(htmlFile, html);
    if (autoOpen) opener(htmlFile);
  }
docs: Create the report synchronously
  
  @param {string} data JSON test data
  @param {Object} opts Report options