@testomatio/reporter 1.2.2 → 1.2.3-beta-batch-upload

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.
@@ -15,7 +15,6 @@ function setS3Credentials(artifacts) {
15
15
  if (artifacts.REGION) process.env.S3_REGION = artifacts.REGION;
16
16
  if (artifacts.BUCKET) process.env.S3_BUCKET = artifacts.BUCKET;
17
17
  if (artifacts.ENDPOINT) process.env.S3_ENDPOINT = artifacts.ENDPOINT;
18
- if (artifacts.SESSION_TOKEN) process.env.S3_SESSION_TOKEN = artifacts.SESSION_TOKEN;
19
18
  if (artifacts.presign) process.env.TESTOMATIO_PRIVATE_ARTIFACTS = '1';
20
19
  resetConfig();
21
20
  }
package/lib/xmlReader.js CHANGED
@@ -405,6 +405,10 @@ class XmlReader {
405
405
 
406
406
  return Promise.all(this.pipes.map(p => p.finishRun(dataString)));
407
407
  }
408
+
409
+ async _finishRun() {
410
+ return Promise.all(this.pipes.map(p => p.finishRun({ status: 'finished' })));
411
+ }
408
412
  }
409
413
 
410
414
  module.exports = XmlReader;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testomatio/reporter",
3
- "version": "1.2.2",
3
+ "version": "1.2.3-beta-batch-upload",
4
4
  "description": "Testomatio Reporter Client",
5
5
  "main": "./lib/reporter.js",
6
6
  "typings": "typings/index.d.ts",