Socket
Socket
Sign inDemoInstall

jest-allure2-adapter

Package Overview
Dependencies
Maintainers
1
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-allure2-adapter - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

7

dist/reporter.js

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

const strip_ansi_1 = __importDefault(require("strip-ansi"));
const path_1 = require("path");
const setup_1 = require("./setup");

@@ -33,3 +32,2 @@ var SpecStatus;

this.environmentInfo = {};
// const t = new AllureRuntime(config ?? { resultsDir: 'allure-results' });
}

@@ -96,2 +94,3 @@ get currentGroup() {

}
// todo type
endTest(spec) {

@@ -132,6 +131,2 @@ if (spec.status === SpecStatus.PASSED) {

}
const relativePath = path_1.relative(process.cwd(), spec.testPath);
this.currentTest.addParameter('Test Path', relativePath);
this.currentTest.fullName = spec.fullName;
this.currentTest.addLabel(allure_js_commons_1.LabelName.PACKAGE, relativePath);
this.currentTest.endTest();

@@ -138,0 +133,0 @@ }

20

dist/setup.d.ts
import { Category } from 'allure-js-commons';
import { AllureReporter } from './reporter';
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 const Categories: Category[];

@@ -4,0 +24,0 @@ export declare function registerAllureReporter(): void;

{
"name": "jest-allure2-adapter",
"version": "0.0.4",
"version": "0.0.5",
"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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc