testilo 24.1.8 → 24.2.0

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/merge.js CHANGED
@@ -48,6 +48,7 @@ exports.merge = (script, batch, standard, observe, requester, timeStamp) => {
48
48
  protoJob.sources = {
49
49
  script: script.id,
50
50
  batch: batch.id,
51
+ lastTarget: false,
51
52
  target: {
52
53
  id: '',
53
54
  what: '',
@@ -103,11 +104,15 @@ exports.merge = (script, batch, standard, observe, requester, timeStamp) => {
103
104
  // Make the job ID unique.
104
105
  const targetID = alphaNumOf(index);
105
106
  job.id = `${timeStamp}-${mergeID}-${targetID}`;
106
- // Add properties to the job.
107
+ // Add other properties to the job.
107
108
  job.mergeID = mergeID;
108
109
  job.sendReportTo = process.env.SEND_REPORT_TO || '';
109
110
  // Add data to the sources property of the job.
110
111
  job.sources.target.id = targetID;
112
+ if (index === targets.length - 1) {
113
+ // Add that fact to the job.
114
+ job.sources.lastTarget = true;
115
+ }
111
116
  job.sources.target.what = target.what;
112
117
  job.sources.target.which = target.which;
113
118
  // Replace each placeholder object in the job with the named replacer array of the target.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testilo",
3
- "version": "24.1.8",
3
+ "version": "24.2.0",
4
4
  "description": "Prepares and processes Testaro reports",
5
5
  "main": "aim.js",
6
6
  "scripts": {
@@ -9,7 +9,7 @@
9
9
  <meta name="description" content="comparison of accessibility scores">
10
10
  <meta name="keywords" content="accessibility a11y web testing">
11
11
  <title>Accessibility score comparison</title>
12
- <link rel="icon" href="favicon.png">
12
+ <link rel="icon" href="favicon.ico">
13
13
  <link rel="stylesheet" href="style.css">
14
14
  </head>
15
15
  <body>
@@ -9,7 +9,7 @@
9
9
  <meta name="description" content="comparison of accessibility scores">
10
10
  <meta name="keywords" content="accessibility a11y web testing">
11
11
  <title>Accessibility score comparison</title>
12
- <link rel="icon" href="favicon.png">
12
+ <link rel="icon" href="favicon.ico">
13
13
  <link rel="stylesheet" href="style.css">
14
14
  </head>
15
15
  <body>
@@ -9,7 +9,7 @@
9
9
  <meta name="description" content="comparison of accessibility scores">
10
10
  <meta name="keywords" content="accessibility a11y web testing">
11
11
  <title>Accessibility score comparison</title>
12
- <link rel="icon" href="favicon.png">
12
+ <link rel="icon" href="favicon.ico">
13
13
  <link rel="stylesheet" href="/scores/style.css">
14
14
  </head>
15
15
  <body>
@@ -9,7 +9,7 @@
9
9
  <meta name="description" content="report of accessibility testing of a web page">
10
10
  <meta name="keywords" content="accessibility a11y web testing">
11
11
  <title>Accessibility test digest</title>
12
- <link rel="icon" href="favicon.png">
12
+ <link rel="icon" href="favicon.ico">
13
13
  <link rel="stylesheet" href="style.css">
14
14
  </head>
15
15
  <body>
@@ -9,7 +9,7 @@
9
9
  <meta name="description" content="report of accessibility testing of a web page">
10
10
  <meta name="keywords" content="accessibility a11y web testing">
11
11
  <title>Accessibility test digest</title>
12
- <link rel="icon" href="favicon.png">
12
+ <link rel="icon" href="favicon.ico">
13
13
  <link rel="stylesheet" href="style.css">
14
14
  </head>
15
15
  <body>
@@ -9,7 +9,7 @@
9
9
  <meta name="description" content="report of accessibility testing of a web page">
10
10
  <meta name="keywords" content="accessibility a11y web testing">
11
11
  <title>Accessibility digest</title>
12
- <link rel="icon" href="favicon.png">
12
+ <link rel="icon" href="favicon.ico">
13
13
  <link rel="stylesheet" href="style.css">
14
14
  </head>
15
15
  <body>