newman-reporter-qase 2.1.1 → 2.1.2

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.
Files changed (2) hide show
  1. package/dist/reporter.js +1 -9
  2. package/package.json +2 -2
package/dist/reporter.js CHANGED
@@ -227,15 +227,7 @@ class NewmanQaseReporter {
227
227
  * @private
228
228
  */
229
229
  getSignature(suites, title, ids) {
230
- let signature = '';
231
- for (const suite of suites) {
232
- signature += suite.toLowerCase().replace(/\s/g, '_') + '::';
233
- }
234
- signature += title.toLowerCase().replace(/\s/g, '_');
235
- if (ids.length > 0) {
236
- signature += '::' + ids.join('::');
237
- }
238
- return signature;
230
+ return (0, qase_javascript_commons_1.generateSignature)(ids, [...suites, title], {});
239
231
  }
240
232
  /**
241
233
  * @param {Item} item
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "newman-reporter-qase",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "description": "Qase TMS Newman Reporter",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -39,7 +39,7 @@
39
39
  "author": "Qase Team <support@qase.io>",
40
40
  "license": "Apache-2.0",
41
41
  "dependencies": {
42
- "qase-javascript-commons": "~2.3.0",
42
+ "qase-javascript-commons": "~2.3.3",
43
43
  "semver": "^7.5.1"
44
44
  },
45
45
  "devDependencies": {