testilo 43.1.1 → 43.1.3

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": "43.1.1",
3
+ "version": "43.1.3",
4
4
  "description": "Prepares Testaro jobs and processes Testaro reports",
5
5
  "main": "call.js",
6
6
  "scripts": {
@@ -31,12 +31,12 @@ const populateQuery = async (report, query) => {
31
31
  const {issue} = details;
32
32
  const issueData = [];
33
33
  Object.keys(issue).forEach(issueID => {
34
- issueData.push([issueID, Object.keys(issue[issueID].tools).map(toolID => tools[toolID])]);
34
+ issueData.push([issue[issueID].summary, Object.keys(issue[issueID].tools).map(toolID => tools[toolID])]);
35
35
  });
36
- issueData.sort((a, b) => a[1].length - b[1].length);
36
+ issueData.sort((a, b) => b[1].length - a[1].length);
37
37
  const dataLines = [];
38
38
  issueData.forEach(issueDatum => {
39
- dataLines.push(`<h3>Issue: ${issues[issueDatum[0]]}</h3>`);
39
+ dataLines.push(`<h3>Issue: ${issueDatum[0]}</h3>`);
40
40
  dataLines.push(`<p>Reported by: ${issueDatum[1].join(', ')}</p>`);
41
41
  });
42
42
  query.data = dataLines.join(outerJoiner);