jest-allure2-adapter
Advanced tools
Comparing version 0.2.23 to 0.2.24
@@ -70,9 +70,9 @@ "use strict"; | ||
// if name fullname | ||
for (let i = 0; i < this.groupStack.length + 1; i++) { | ||
if (this.groupStack.length > i) { | ||
for (let j = 0; j <= i; j++) { | ||
nameGr = name.replace(this.groupStack[j].name, ''); | ||
} | ||
/*for (let i = 0; i < this.groupStack.length + 1; i++) { | ||
if (this.groupStack.length > i) { | ||
for (let j = 0; j <= i; j++) { | ||
nameGr = name.replace(this.groupStack[j].name, ''); | ||
} | ||
} | ||
} | ||
}*/ | ||
this.groupNameStack.push(nameGr); | ||
@@ -79,0 +79,0 @@ this.groupStack.push(this.currentGroup); |
@@ -11,3 +11,3 @@ "use strict"; | ||
if (suite) { | ||
this.allure.startGroup(suite.fullName); | ||
this.allure.startGroup(suite.description); | ||
} | ||
@@ -14,0 +14,0 @@ else { |
{ | ||
"name": "jest-allure2-adapter", | ||
"version": "0.2.23", | ||
"version": "0.2.24", | ||
"description": "Allure 2 Adapter for jest", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index", |
@@ -230,3 +230,3 @@ # Jest-Allure-2 reporting plugin | ||
`jest-allure2-adapter` reporter dynamically configure "setupTestFrameworkScriptFile" option in Jest configuration. | ||
**If you have your own setupTestFrameworkScriptFile file**, you need to manually register allure reporter, for it you need to import jest-allure/dist/setup. | ||
**If you have your own setupTestFrameworkScriptFile file**, you need to manually register allure reporter, for it you need to import jest-allure/dist/setup-default. | ||
@@ -239,2 +239,6 @@ ```typescript | ||
## Releases | ||
0.2.23 default and custom reporter, timestamps in steps | ||
## Contributors | ||
@@ -241,0 +245,0 @@ |
48559
247