jest-allure2-adapter
Advanced tools
Comparing version 0.2.15 to 0.2.16
@@ -8,3 +8,2 @@ /// <reference types="node" /> | ||
private runningGroup; | ||
private runningExecutable; | ||
private groupStack; | ||
@@ -11,0 +10,0 @@ private groupNameStack; |
@@ -41,3 +41,2 @@ "use strict"; | ||
this.runningGroup = null; | ||
this.runningExecutable = null; | ||
this.groupStack = []; | ||
@@ -68,4 +67,6 @@ this.groupNameStack = []; | ||
// todo check empty name | ||
// todo name fix to suite info | ||
this.runningGroup = this.runtime.startGroup(name); | ||
let nameGr = name; | ||
// if name fullname | ||
for (let i = 0; i < this.groupStack.length + 1; i++) { | ||
@@ -145,3 +146,2 @@ if (this.groupStack.length > i) { | ||
} | ||
// todo type | ||
endTest(spec) { | ||
@@ -148,0 +148,0 @@ this.endSteps(); |
@@ -5,23 +5,2 @@ "use strict"; | ||
const path_1 = require("path"); | ||
/* | ||
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; | ||
} | ||
}*/ | ||
class JasmineAllureReporter { | ||
@@ -28,0 +7,0 @@ constructor(allure) { |
@@ -8,3 +8,2 @@ "use strict"; | ||
const reporter = (global.reporter = new AllureReporter_1.AllureReporter()); | ||
// (global as any).reporter = new AllureReporter(); | ||
jasmine | ||
@@ -11,0 +10,0 @@ .getEnv() |
{ | ||
"name": "jest-allure2-adapter", | ||
"version": "0.2.15", | ||
"version": "0.2.16", | ||
"description": "Allure 2 Adapter for jest", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index", |
29359
624