testilo 41.0.4 → 41.0.5
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/package.json +1 -1
- package/procs/util.js +2 -2
package/package.json
CHANGED
package/procs/util.js
CHANGED
|
@@ -34,7 +34,7 @@ const alphaNumChars = (() => {
|
|
|
34
34
|
return digits.concat(lowers);
|
|
35
35
|
})();
|
|
36
36
|
// Tools.
|
|
37
|
-
exports.tools = {
|
|
37
|
+
const tools = exports.tools = {
|
|
38
38
|
alfa: 'Alfa',
|
|
39
39
|
aslint: 'ASLint',
|
|
40
40
|
axe: 'Axe',
|
|
@@ -123,4 +123,4 @@ exports.getBarCell = (num, colMax, svgWidth, isRight = false) => {
|
|
|
123
123
|
return cell;
|
|
124
124
|
};
|
|
125
125
|
// Returns whether a tool ID is the ID of a Testaro-integrated tool.
|
|
126
|
-
exports.isToolID = toolID =>
|
|
126
|
+
exports.isToolID = toolID => Object.keys(tools).includes(toolID);
|