testilo 24.1.2 → 24.1.4

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 (3) hide show
  1. package/batch.js +1 -1
  2. package/package.json +1 -1
  3. package/script.js +2 -2
package/batch.js CHANGED
@@ -55,7 +55,7 @@ exports.batch = (id, what, targetList) => {
55
55
  // Otherwise, i.e. if the arguments are invalid:
56
56
  else {
57
57
  // Return this.
58
- console.log('ERROR: Batch information missing or invalid');
58
+ console.log('ERROR: Information for batch creation missing or invalid');
59
59
  return null;
60
60
  }
61
61
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testilo",
3
- "version": "24.1.2",
3
+ "version": "24.1.4",
4
4
  "description": "Prepares and processes Testaro reports",
5
5
  "main": "aim.js",
6
6
  "scripts": {
package/script.js CHANGED
@@ -70,7 +70,7 @@ exports.script = (id, issues = null, ... issueIDs) => {
70
70
  what: `accessibility tests`,
71
71
  strict: true,
72
72
  isolate: true,
73
- timeLimit: 30 + (10 * issueIDs.length || 30 * toolIDs.length),
73
+ timeLimit: Math.round(30 + (issueIDs.length || 300) / 2 + 20 * toolIDs.length),
74
74
  acts: [
75
75
  {
76
76
  "type": "placeholder",
@@ -97,7 +97,7 @@ exports.script = (id, issues = null, ... issueIDs) => {
97
97
  const prefixes = {
98
98
  act: 'QW-ACT-R',
99
99
  wcag: 'QW-WCAG-T',
100
- bp: 'QW-BP'
100
+ best: 'QW-BP'
101
101
  };
102
102
  Object.keys(prefixes).forEach(prefix => {
103
103
  // Specify the rules of that module to be tested for.