testilo 33.5.0 → 33.5.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testilo",
3
- "version": "33.5.0",
3
+ "version": "33.5.2",
4
4
  "description": "Prepares Testaro jobs and processes Testaro reports",
5
5
  "main": "call.js",
6
6
  "scripts": {
@@ -21,7 +21,7 @@ const getMaxScore = summaryReport => summaryReport.summaries.reduce(
21
21
  (max, result) => Math.max(max, result.score), 0
22
22
  );
23
23
  // Converts summary report data to a table body.
24
- const getTableBody = exports.getTableBody = async summaryReport => {
24
+ const getTableBody = async summaryReport => {
25
25
  const maxScore = getMaxScore(summaryReport);
26
26
  const rows = summaryReport.summaries
27
27
  .sort((a, b) => a.score - b.score)
@@ -30,7 +30,7 @@ const getTableBody = exports.getTableBody = async summaryReport => {
30
30
  const {what, which} = sources.target;
31
31
  const pageCell = `<th scope="row"><a href="${which}">${what}</a></th>`;
32
32
  const scoreDestination = process.env.DIGEST_URL.replace('__id__', id);
33
- const numCell = `<td><a href="${scoreDestination}">${score}</a></td>`;
33
+ const numCell = `<td class="num"><a href="${scoreDestination}">${score}</a></td>`;
34
34
  // Make the bar width proportional.
35
35
  const barCell = getBarCell(score, maxScore, 25, false);
36
36
  const row = `<tr>${pageCell}${numCell}${barCell}</tr>`;