@testomatio/reporter 1.6.6-beta-detach-xml-1 → 1.6.6

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/lib/client.js CHANGED
@@ -180,6 +180,7 @@ class Client {
180
180
  const uploadedFiles = [];
181
181
 
182
182
  for (let f of files) {
183
+ if (!f) continue; // f === null
183
184
  if (typeof f === 'object') {
184
185
  if (!f.path) continue;
185
186
 
package/lib/xmlReader.js CHANGED
@@ -21,7 +21,7 @@ const config = require('./config');
21
21
  const ridRunId = randomUUID();
22
22
 
23
23
  const TESTOMATIO_URL = process.env.TESTOMATIO_URL || 'https://app.testomat.io';
24
- const { TESTOMATIO_RUNGROUP_TITLE, TESTOMATIO_TITLE, TESTOMATIO_ENV, TESTOMATIO_RUN, TESTOMATIO_MARK_DETACHED } = process.env;
24
+ const { TESTOMATIO_RUNGROUP_TITLE, TESTOMATIO_TITLE, TESTOMATIO_ENV, TESTOMATIO_RUN } = process.env;
25
25
 
26
26
  const options = {
27
27
  ignoreDeclaration: true,
@@ -41,7 +41,6 @@ class XmlReader {
41
41
  title: TESTOMATIO_TITLE,
42
42
  env: TESTOMATIO_ENV,
43
43
  group_title: TESTOMATIO_RUNGROUP_TITLE,
44
- detach: !!TESTOMATIO_MARK_DETACHED,
45
44
  // batch uploading is implemented for xml already
46
45
  isBatchEnabled: false,
47
46
  };
@@ -426,7 +425,6 @@ class XmlReader {
426
425
  const dataString = {
427
426
  ...this.stats,
428
427
  api_key: this.requestParams.apiKey,
429
- detach: this.requestParams.detach,
430
428
  status: 'finished',
431
429
  tests: this.tests,
432
430
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testomatio/reporter",
3
- "version": "1.6.6-beta-detach-xml-1",
3
+ "version": "1.6.6",
4
4
  "description": "Testomatio Reporter Client",
5
5
  "main": "./lib/reporter.js",
6
6
  "typings": "typings/index.d.ts",