@testomatio/reporter 1.2.1-beta.codecept-id.2 → 1.2.1

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.
@@ -187,8 +187,8 @@ class TestomatioPipe {
187
187
  } catch (err) {
188
188
  console.error(
189
189
  APP_PREFIX,
190
- 'Error creating Testomat.io report, please check if your API key is valid. Skipping report',
191
- err,
190
+ 'Error creating Testomat.io report, please check if your API key is valid. Skipping report | ',
191
+ err?.response?.statusText || err?.status || err.message,
192
192
  );
193
193
  }
194
194
  debug('"createRun" function finished');
@@ -13,7 +13,7 @@ const debug = require('debug')('@testomatio/reporter:util');
13
13
  const parseTest = testTitle => {
14
14
  if (!testTitle) return null;
15
15
 
16
- const captures = testTitle.match(/\@T[\w\d]{8}/);
16
+ const captures = testTitle.match(/@T[\w\d]{8}/);
17
17
 
18
18
  if (captures) {
19
19
  return captures[1];
@@ -28,7 +28,7 @@ const parseTest = testTitle => {
28
28
  * @returns {String|null} suiteId
29
29
  */
30
30
  const parseSuite = suiteTitle => {
31
- const captures = suiteTitle.match(/\@S[\w\d]{8}/);
31
+ const captures = suiteTitle.match(/@S[\w\d]{8}/);
32
32
  if (captures) {
33
33
  return captures[1];
34
34
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testomatio/reporter",
3
- "version": "1.2.1-beta.codecept-id.2",
3
+ "version": "1.2.1",
4
4
  "description": "Testomatio Reporter Client",
5
5
  "main": "./lib/reporter.js",
6
6
  "typings": "typings/index.d.ts",