Socket
Socket
Sign inDemoInstall

jest-allure2-adapter

Package Overview
Dependencies
14
Maintainers
1
Versions
100
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.10 to 0.3.11

11

dist/allure-reporter.js

@@ -8,2 +8,3 @@ "use strict";

const utils_1 = require("./utils");
const dateNow = Date.now;
const stripAnsi = require('strip-ansi');

@@ -75,3 +76,3 @@ var SpecStatus;

startTest(spec, start) {
this.runningTest = this.currentGroup.startTest(spec.description, start);
this.runningTest = this.currentGroup.startTest(spec.description, start || dateNow());
this.runningTest.fullName = spec.fullName;

@@ -92,3 +93,3 @@ this.executable.initDescription();

var _a;
const allureStep = this.currentExecutable.startStep((((_a = this.config) === null || _a === void 0 ? void 0 : _a.stepTimestamp) ? utils_1.dateStr() + ' | ' : '') + name, start);
const allureStep = this.currentExecutable.startStep((((_a = this.config) === null || _a === void 0 ? void 0 : _a.stepTimestamp) ? utils_1.dateStr() + ' | ' : '') + name, start || dateNow());
this.stepStack.push(allureStep);

@@ -125,3 +126,3 @@ return allureStep;

}
step.endStep(end);
step.endStep(end || dateNow());
this.currentStepStatus = null;

@@ -182,3 +183,3 @@ }

}
this.currentTest.endTest(stop);
this.currentTest.endTest(stop || dateNow());
}

@@ -204,3 +205,3 @@ endGroup() {

var _a, _b, _c, _d, _e, _f;
const allureStep = this.startStep(name, start);
const allureStep = this.startStep(name, start || dateNow());
let result;

@@ -207,0 +208,0 @@ if (!body) {

{
"name": "jest-allure2-adapter",
"version": "0.3.10",
"version": "0.3.11",
"description": "Allure 2 Adapter for jest",

@@ -5,0 +5,0 @@ "main": "./dist/index",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc