jest-allure2-adapter
Advanced tools
Comparing version 0.1.19 to 0.1.20
@@ -117,3 +117,13 @@ "use strict"; | ||
applyGroupping(spec) { | ||
const groups = this.groupNameStack; | ||
const replaceDot = (name) => { | ||
if (name.substr(0, 1) === '.') { | ||
return name.substr(1, name.length - 1); | ||
} | ||
if (name.substr(name.length - 1) === '.') { | ||
return name.substr(0, name.length - 1); | ||
} | ||
return name; | ||
}; | ||
const groups = this.groupNameStack.map((p) => replaceDot(p)); | ||
groups.map; | ||
this.addPackage(groups.join('.')); | ||
@@ -120,0 +130,0 @@ if (groups.length > 0) { |
{ | ||
"name": "jest-allure2-adapter", | ||
"version": "0.1.19", | ||
"version": "0.1.20", | ||
"description": "Allure 2 Adapter for jest", | ||
@@ -5,0 +5,0 @@ "main": "dist/index", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
40819
955