cucumberjs-qase-reporter 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/storage.js +1 -7
  2. package/package.json +3 -3
package/dist/storage.js CHANGED
@@ -314,13 +314,7 @@ class Storage {
314
314
  * @private
315
315
  */
316
316
  getSignature(pickle, ids) {
317
- let signature = pickle.uri.split('/').join('::')
318
- + '::'
319
- + pickle.name.toLowerCase().replace(/\s/g, '_');
320
- if (ids.length > 0) {
321
- signature += '::' + ids.join('::');
322
- }
323
- return signature;
317
+ return (0, qase_javascript_commons_1.generateSignature)(ids, [...pickle.uri.split('/'), pickle.name], {});
324
318
  }
325
319
  getError(testCaseId) {
326
320
  const testErrors = this.testCaseStartedErrors[testCaseId];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cucumberjs-qase-reporter",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "description": "Qase TMS CucumberJS Reporter",
5
5
  "homepage": "https://github.com/qase-tms/qase-javascript",
6
6
  "main": "./dist/index.js",
@@ -36,11 +36,11 @@
36
36
  "test": "jest --passWithNoTests",
37
37
  "clean": "rm -rf dist"
38
38
  },
39
- "author": "Parviz Khavari <havaripa@gmail.com>",
39
+ "author": "Qase Team <support@qase.io>",
40
40
  "license": "Apache-2.0",
41
41
  "dependencies": {
42
42
  "@cucumber/messages": "^22.0.0",
43
- "qase-javascript-commons": "~2.3.2"
43
+ "qase-javascript-commons": "~2.3.3"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "@cucumber/cucumber": ">=7.0.0"