allure-cucumberjs
Advanced tools
Comparing version 2.0.0-beta.4 to 2.0.0-beta.5
@@ -5,4 +5,4 @@ "use strict"; | ||
class CucumberAllureInterface extends allure_js_commons_1.Allure { | ||
constructor(reporter) { | ||
super(); | ||
constructor(reporter, runtime) { | ||
super(runtime); | ||
this.reporter = reporter; | ||
@@ -68,5 +68,2 @@ } | ||
} | ||
getGlobalInfoWriter() { | ||
return this.reporter.getGlobalInfoWriter(); | ||
} | ||
} | ||
@@ -73,0 +70,0 @@ exports.CucumberAllureInterface = CucumberAllureInterface; |
@@ -47,3 +47,3 @@ "use strict"; | ||
}; | ||
this.allureInterface = new CucumberAllureInterface_1.CucumberAllureInterface(this); | ||
this.allureInterface = new CucumberAllureInterface_1.CucumberAllureInterface(this, this.allureRuntime); | ||
options.supportCodeLibrary.World.prototype.allure = this.allureInterface; | ||
@@ -269,7 +269,4 @@ this.beforeHooks = options.supportCodeLibrary.beforeTestCaseHookDefinitions; | ||
} | ||
getGlobalInfoWriter() { | ||
return this.allureRuntime; | ||
} | ||
} | ||
exports.CucumberJSAllureFormatter = CucumberJSAllureFormatter; | ||
//# sourceMappingURL=CucumberJSAllureReporter.js.map |
{ | ||
"name": "allure-cucumberjs", | ||
"version": "2.0.0-beta.4", | ||
"version": "2.0.0-beta.5", | ||
"description": "Allure Cucumber.JS integration", | ||
@@ -12,3 +12,2 @@ "license": "Apache-2.0", | ||
"main": "./dist/index.js", | ||
"typings": "./dist/declarations/", | ||
"scripts": { | ||
@@ -29,3 +28,3 @@ "clean": "rimraf ./dist ./out", | ||
"@types/cucumber": "^4.0.5", | ||
"@types/fs-extra": "^7.0.0", | ||
"@types/fs-extra": "^8.0.0", | ||
"@types/glob": "^7.1.1", | ||
@@ -43,5 +42,5 @@ "@types/verror": "^1.10.3", | ||
"dependencies": { | ||
"allure-js-commons": "^2.0.0-beta.4" | ||
"allure-js-commons": "^2.0.0-beta.5" | ||
}, | ||
"gitHead": "8dfa461802b3e82dcdcac7714edef9a5f810368b" | ||
"gitHead": "b76c1291b2857920d41e58974a58d92ed1922af7" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
58906
687