code: function getOptions(opts) {
    const mergedOptions = getMergedOptions(opts || {});
  
    // For saving JSON from mochawesome reporter
    if (mergedOptions.saveJson) {
      mergedOptions.jsonFile = `${getFilename(mergedOptions)}.json`;
    }
  
    mergedOptions.htmlFile = `${getFilename(mergedOptions)}.html`;
    return mergedOptions;
  }
docs: Get report options by extending base options
  with user provided options
  
  @param {Object} opts Report options
  
  @return {Object} User options merged with default options