testaro 14.2.5 → 14.2.6
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/standardize.js +6 -1
package/package.json
CHANGED
package/standardize.js
CHANGED
|
@@ -321,7 +321,12 @@ const convert = (testName, result, standardResult) => {
|
|
|
321
321
|
? ruleResult.totals[index] || 0
|
|
322
322
|
: 0;
|
|
323
323
|
});
|
|
324
|
-
|
|
324
|
+
if (ruleResult.standardInstances) {
|
|
325
|
+
standardResult.instances.push(... ruleResult.standardInstances);
|
|
326
|
+
}
|
|
327
|
+
else {
|
|
328
|
+
console.log(`ERROR: Testaro rule ${rule} result has no standardInstances property`);
|
|
329
|
+
}
|
|
325
330
|
});
|
|
326
331
|
standardResult.totals = standardResult.totals.map(total => Math.round(total));
|
|
327
332
|
}
|