testilo 17.2.6 → 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 CHANGED
@@ -327,7 +327,7 @@ Suppose you ask for a merger of the above batch and script, **without** the isol
327
327
  requester: 'you@yourdomain.tld'
328
328
  },
329
329
  creationTime: '2023-11-20T15:50:27',
330
- timeStamp: '231120T1550'
330
+ timeStamp: '231120T155314'
331
331
  }
332
332
  ```
333
333
 
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. Report count: ${reports.length}`);
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 now = new Date();
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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testilo",
3
- "version": "17.2.6",
3
+ "version": "17.2.7",
4
4
  "description": "Prepares and processes Testaro reports",
5
5
  "main": "aim.js",
6
6
  "scripts": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "id": "240223T0815-mon-example",
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
- "what": "Chromium browser",
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": "240223T0815"
36
+ "timeStamp": "231120T155027"
44
37
  }