Comparing version 0.5555555.0-55 to 0.5555555.0-555
@@ -10,2 +10,3 @@ "use strict"; | ||
const allure_js_commons_1 = require("allure-js-commons"); | ||
const os_1 = require("os"); | ||
const writers_1 = require("allure-js-commons/dist/src/writers"); | ||
@@ -26,2 +27,5 @@ function createReporter(testModulePath, rootStepName) { | ||
const caseName = process.env.ALLURE_CASE_NAME || getDefaultCaseName(); | ||
const historyId = crypto_1.createHash('md5') | ||
.update([suiteName, caseName].join(' / ')) | ||
.digest('hex'); | ||
const allureConfig = { | ||
@@ -34,2 +38,7 @@ resultsDir: process.env.ALLURE_RESULTS_DIR || 'allure-results' | ||
const test = group.startTest(caseName); | ||
const prescriptVersion = require('../package').version; | ||
test.historyId = historyId; | ||
test.addLabel(allure_js_commons_1.LabelName.THREAD, `${process.pid}`); | ||
test.addLabel(allure_js_commons_1.LabelName.HOST, `${os_1.hostname()}`); | ||
test.addLabel(allure_js_commons_1.LabelName.FRAMEWORK, `prescript@${prescriptVersion}`); | ||
let stack = new TestStepStack(test); | ||
@@ -36,0 +45,0 @@ singletonAllureInstance_1.default.currentReportingInterface = { |
{ | ||
"name": "prescript", | ||
"version": "0.5555555.0-55", | ||
"version": "0.5555555.0-555", | ||
"description": "Object-oriented acceptance test tool", | ||
@@ -5,0 +5,0 @@ "main": "./lib/singletonApi.js", |
Sorry, the diff of this file is not supported yet
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
132122
2025