testilo 17.2.5 → 17.2.7
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/README.md +1 -1
- package/digest.js +1 -1
- package/merge.js +3 -3
- package/package.json +1 -1
- package/validation/series/job.json +4 -11
package/README.md
CHANGED
package/digest.js
CHANGED
|
@@ -20,6 +20,6 @@ exports.digest = async (digester, reports) => {
|
|
|
20
20
|
console.log(`Report ${report.id} digested`);
|
|
21
21
|
};
|
|
22
22
|
// Return the digests.
|
|
23
|
-
console.log(`Digesting complete
|
|
23
|
+
console.log(`Digesting complete; report count ${reports.length}`);
|
|
24
24
|
return digests;
|
|
25
25
|
};
|
package/merge.js
CHANGED
|
@@ -36,8 +36,7 @@ exports.merge = (script, batch, requester, isolate = false) => {
|
|
|
36
36
|
// If the requester is unspecified, make it the standard requester.
|
|
37
37
|
requester ||= stdRequester;
|
|
38
38
|
// Create a timestamp.
|
|
39
|
-
const
|
|
40
|
-
const timeStamp = now.toISOString().slice(2, 16).replace(/[-:]/g, '');
|
|
39
|
+
const timeStamp = new Date().toISOString().replace(/[-:]/g, '').slice(2, 15);
|
|
41
40
|
// Create a time description.
|
|
42
41
|
const creationTime = (new Date()).toISOString().slice(0, 19);
|
|
43
42
|
// Initialize a target-independent job.
|
|
@@ -53,7 +52,8 @@ exports.merge = (script, batch, requester, isolate = false) => {
|
|
|
53
52
|
which: '',
|
|
54
53
|
what: ''
|
|
55
54
|
},
|
|
56
|
-
requester
|
|
55
|
+
requester,
|
|
56
|
+
sendReportTo: process.env.REPORT_URL || ''
|
|
57
57
|
};
|
|
58
58
|
// Add time properties to the job.
|
|
59
59
|
protoJob.creationTime = creationTime;
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"id": "
|
|
2
|
+
"id": "231120T155027-mon-example",
|
|
3
3
|
"what": "Job for series validation",
|
|
4
4
|
"strict": true,
|
|
5
5
|
"timeLimit": 10,
|
|
@@ -7,18 +7,11 @@
|
|
|
7
7
|
{
|
|
8
8
|
"type": "launch",
|
|
9
9
|
"which": "chromium",
|
|
10
|
-
"
|
|
10
|
+
"url": "https://example.com",
|
|
11
|
+
"what": "Example of web page",
|
|
11
12
|
"startTime": 1662474496075,
|
|
12
13
|
"endTime": 1662474496453
|
|
13
14
|
},
|
|
14
|
-
{
|
|
15
|
-
"type": "url",
|
|
16
|
-
"which": "https://example.com",
|
|
17
|
-
"what": "Example of web page",
|
|
18
|
-
"startTime": 1662474496453,
|
|
19
|
-
"result": "https://example.com",
|
|
20
|
-
"endTime": 1662474501684
|
|
21
|
-
},
|
|
22
15
|
{
|
|
23
16
|
"type": "test",
|
|
24
17
|
"which": "testaro",
|
|
@@ -40,5 +33,5 @@
|
|
|
40
33
|
"requester": "user@domain.tld"
|
|
41
34
|
},
|
|
42
35
|
"creationTime": "2023-11-20T15:50:27",
|
|
43
|
-
"timeStamp": "
|
|
36
|
+
"timeStamp": "231120T155027"
|
|
44
37
|
}
|