testilo 25.1.1 → 25.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": "25.1.1",
3
+ "version": "25.1.3",
4
4
  "description": "Prepares and processes Testaro reports",
5
5
  "main": "call.js",
6
6
  "scripts": {
@@ -22,7 +22,7 @@
22
22
  <caption>Audit A</caption>
23
23
  <tr><th>Page</th><td>__orgA__</td></tr>
24
24
  <tr><th>URL</th><td>__urlA__</td></tr>
25
- <tr><th>Test date</th><td>__dateSlashA__</td></tr>
25
+ <tr><th>Test time</th><td>__dateTimeA__</td></tr>
26
26
  <tr><th>Score</th><td>__totalA__</td></tr>
27
27
  <tr><th>Digest</th><td><a href="__digestAURL__">__digestAURL__</a></td></tr>
28
28
  </table>
@@ -30,7 +30,7 @@
30
30
  <caption>Audit B</caption>
31
31
  <tr><th>Page</th><td>__orgB__</td></tr>
32
32
  <tr><th>URL</th><td>__urlB__</td></tr>
33
- <tr><th>Test date</th><td>__dateSlashB__</td></tr>
33
+ <tr><th>Test time</th><td>__dateTimeB__</td></tr>
34
34
  <tr><th>Score</th><td>__totalB__</td></tr>
35
35
  <tr><th>Digest</th><td><a href="__digestBURL__">__digestBURL__</a></td></tr>
36
36
  </table>
@@ -58,8 +58,7 @@ const populateQuery = (reportA, reportB, query) => {
58
58
  const {summary, details} = score;
59
59
  query[`org${suffix}`] = target.what;
60
60
  query[`url${suffix}`] = target.which;
61
- const dateISO = jobData.endTime.slice(0, 8);
62
- query[`dateSlash${suffix}`] = dateISO.replace(/-/g, '/');
61
+ query[`dateTime${suffix}`] = jobData.endTime.replace(/-/g, '/').replace('T', ', ');
63
62
  query[`total${suffix}`] = summary.total;
64
63
  query[`digest${suffix}URL`] = process.env.DIGEST_URL.replace('__id__', id);
65
64
  // Get the union of the issues in the reports.