jest-allure2-adapter
Advanced tools
Comparing version 0.1.17 to 0.1.18
@@ -12,3 +12,2 @@ /// <reference types="node" /> | ||
private environmentInfo; | ||
private categories; | ||
constructor(config?: IAllureConfig); | ||
@@ -26,3 +25,3 @@ get currentGroup(): AllureGroup; | ||
get currentStep(): AllureStep | null; | ||
writeCategories(): void; | ||
writeCategories(categories: Category[]): void; | ||
endGroup(): void; | ||
@@ -37,3 +36,2 @@ private findMessageAboutThrow; | ||
stepAttachement(name: string, content: Buffer | string, type: ContentType): void; | ||
addCategory(category: Category): void; | ||
addPackage(value: string): this; | ||
@@ -40,0 +38,0 @@ addParameter(name: string, value: string): this; |
@@ -31,3 +31,2 @@ "use strict"; | ||
this.environmentInfo = {}; | ||
this.categories = []; | ||
} | ||
@@ -163,4 +162,4 @@ get currentGroup() { | ||
} | ||
writeCategories() { | ||
super.writeCategoriesDefinitions(this.categories); | ||
writeCategories(categories) { | ||
super.writeCategoriesDefinitions(categories); | ||
} | ||
@@ -258,6 +257,2 @@ endGroup() { | ||
} | ||
addCategory(category) { | ||
// todo check if the same exist | ||
this.categories.push(category); | ||
} | ||
addPackage(value) { | ||
@@ -264,0 +259,0 @@ this.currentTest.addLabel(allure_js_commons_1.LabelName.PACKAGE, value); |
@@ -26,3 +26,2 @@ import { AllureReporter } from './AllureReporter'; | ||
suiteStarted(suite?: jasmine.CustomReporterResult): void; | ||
jasmineDone(): void; | ||
suiteDone(): void; | ||
@@ -29,0 +28,0 @@ specStarted(spec: jasmine.CustomReporterResult): void; |
@@ -19,5 +19,2 @@ "use strict"; | ||
} | ||
jasmineDone() { | ||
this.allure.writeCategories(); | ||
} | ||
suiteDone() { | ||
@@ -24,0 +21,0 @@ this.allure.endGroup(); |
{ | ||
"name": "jest-allure2-adapter", | ||
"version": "0.1.17", | ||
"version": "0.1.18", | ||
"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
39974
927