function modifyJsonpReportHelper (originalJsonpReport, approvedFileName) {
  const report = extractReport(originalJsonpReport);
  report.tests.forEach(test => {
    if (test.pair.fileName === approvedFileName) {
      test.status = 'pass';
      delete test.pair.diffImage;
    }
    return test;
  });

  const jsonReport = JSON.stringify(report, null, 2);
  const jsonpReport = `report(${jsonReport});`;
  return jsonpReport;
}
Helper function to modify the test status of the JSONP report based on the approved file name.

@param {String} originalJsonpReport - jsonpReport `report(${jsonReport});`
@param {String} approvedFileName - the name of the screenshot that is approved
@return {String} jsonpReport - modified jsonpReport