testaro 33.0.0 → 33.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/run.js +5 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "testaro",
3
- "version": "33.0.0",
4
- "description": "Run 900 web accessibility tests from 9 tools and get a standardized report",
3
+ "version": "33.0.1",
4
+ "description": "Run 1000 web accessibility tests from 10 tools and get a standardized report",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "tests": "node validation/executors/tests",
package/run.js CHANGED
@@ -1567,13 +1567,17 @@ const doActs = async (report, actIndex, page) => {
1567
1567
  */
1568
1568
  exports.doJob = async report => {
1569
1569
  // If the report is valid:
1570
+ report.jobData = {};
1571
+ const {jobData} = report;
1570
1572
  const reportInvalidity = isValidReport(report);
1571
1573
  if (reportInvalidity) {
1572
1574
  console.log(`ERROR: ${reportInvalidity}`);
1575
+ jobData.aborted = true;
1576
+ jobData.abortedAct = null;
1577
+ jobData.abortError = reportInvalidity;
1573
1578
  }
1574
1579
  else {
1575
1580
  // Add initialized job data to the report.
1576
- report.jobData = {};
1577
1581
  const startTime = new Date();
1578
1582
  report.jobData.startTime = nowString();
1579
1583
  report.jobData.endTime = '';