testilo 24.1.0 → 24.1.2

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 +1 -1
  2. package/script.js +4 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testilo",
3
- "version": "24.1.0",
3
+ "version": "24.1.2",
4
4
  "description": "Prepares and processes Testaro reports",
5
5
  "main": "aim.js",
6
6
  "scripts": {
package/script.js CHANGED
@@ -95,8 +95,8 @@ exports.script = (id, issues = null, ... issueIDs) => {
95
95
  // For each QualWeb module:
96
96
  const specs = [];
97
97
  const prefixes = {
98
- act: 'QW-ACT-',
99
- wcag: 'QW-WCAG-',
98
+ act: 'QW-ACT-R',
99
+ wcag: 'QW-WCAG-T',
100
100
  bp: 'QW-BP'
101
101
  };
102
102
  Object.keys(prefixes).forEach(prefix => {
@@ -105,6 +105,8 @@ exports.script = (id, issues = null, ... issueIDs) => {
105
105
  const integers = ids.map(id => id.slice(prefixes[prefix].length));
106
106
  specs.push(`${prefix}:${integers.join(',')}`);
107
107
  });
108
+ // Replace the generic rule list with the QualWeb-format list.
109
+ toolAct.rules = specs;
108
110
  }
109
111
  // Otherwise, if the tool is Testaro:
110
112
  else if (toolID === 'testaro') {