Coverage and Quality Reports
-Page last updated: February 13, 2024
+Page last updated:
About These Reports
diff --git a/package.json b/package.json index de39f188d..3d38024fa 100644 --- a/package.json +++ b/package.json @@ -72,7 +72,7 @@ "npm run reference-tables", "git add content/index/index.html", "npm run coverage-report", - "git add coverage/" + "git add content/about/coverage-and-quality/" ] }, "ava": { diff --git a/scripts/coverage-report.js b/scripts/coverage-report.js index c11b240c5..2244b571d 100644 --- a/scripts/coverage-report.js +++ b/scripts/coverage-report.js @@ -1138,26 +1138,12 @@ $('#example_summary_prototype').html(countPrototype); $('#example_summary_mouse').html(countMouse); $('#example_summary_pointer').html(countPointer); -// Create a new Date object -var currentDate = new Date(); - -// Format the date as a string -const formattedDate = currentDate.toLocaleDateString('en-US', { - day: 'numeric', - month: 'long', - year: 'numeric', -}); - // cheerio seems to fold the doctype lines despite the template const result = $.html() .replace('', '\n') .replace( '', '\n' - ) - .replace( - '
Page last updated:
', - `Page last updated: ${formattedDate}
` ); fs.writeFile(coverageReportPath, result, function (err) { diff --git a/scripts/coverage-report.template b/scripts/coverage-report.template index c4529e6ed..b57db9b3d 100644 --- a/scripts/coverage-report.template +++ b/scripts/coverage-report.template @@ -18,7 +18,7 @@Coverage and Quality Reports
-Page last updated:
+Page last updated:
About These Reports