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.
- package/batch.js +1 -1
- package/package.json +1 -1
- 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:
|
|
58
|
+
console.log('ERROR: Information for batch creation missing or invalid');
|
|
59
59
|
return null;
|
|
60
60
|
}
|
|
61
61
|
};
|
package/package.json
CHANGED
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 + (
|
|
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
|
-
|
|
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.
|