jest-allure2-adapter
Advanced tools
Comparing version 0.1.8 to 0.1.9
import { AllureReporter } from './AllureReporter'; | ||
import { jasmine } from './JasmineAllureReporter'; | ||
export declare namespace jasmine { | ||
function getEnv(): any; | ||
interface CustomReporter { | ||
jasmineStarted?(suiteInfo: any): void; | ||
suiteStarted?(result: CustomReporterResult): void; | ||
specStarted?(result: CustomReporterResult): void; | ||
specDone?(result: CustomReporterResult): void; | ||
suiteDone?(result: CustomReporterResult): void; | ||
jasmineDone?(runDetails: any): void; | ||
} | ||
interface CustomReporterResult { | ||
description: string; | ||
failedExpectations?: any[]; | ||
fullName: string; | ||
id: string; | ||
passedExpectations?: any[]; | ||
pendingReason?: string; | ||
status?: string; | ||
} | ||
} | ||
export declare function registerAllureReporter(): void; | ||
@@ -4,0 +23,0 @@ export declare function addReporter(jasmineCustom?: (r: AllureReporter) => jasmine.CustomReporter): void; |
@@ -13,7 +13,7 @@ "use strict"; | ||
// const reporter = ((global as any).reporter = new AllureReporter()); | ||
JasmineAllureReporter_1.jasmine | ||
jasmine | ||
.getEnv() | ||
.addReporter(jasmineCustom || new JasmineAllureReporter_1.JasmineAllureReporter(reporter)); | ||
.addReporter(jasmineCustom !== null && jasmineCustom !== void 0 ? jasmineCustom : new JasmineAllureReporter_1.JasmineAllureReporter(reporter)); | ||
} | ||
exports.addReporter = addReporter; | ||
registerAllureReporter(); |
{ | ||
"name": "jest-allure2-adapter", | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"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
33620
888