Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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.1.8 to 0.1.9

21

dist/setup.d.ts
import { AllureReporter } from './AllureReporter';
import { jasmine } from './JasmineAllureReporter';
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 function registerAllureReporter(): void;

@@ -4,0 +23,0 @@ export declare function addReporter(jasmineCustom?: (r: AllureReporter) => jasmine.CustomReporter): void;

4

dist/setup.js

@@ -13,7 +13,7 @@ "use strict";

// const reporter = ((global as any).reporter = new AllureReporter());
JasmineAllureReporter_1.jasmine
jasmine
.getEnv()
.addReporter(jasmineCustom || new JasmineAllureReporter_1.JasmineAllureReporter(reporter));
.addReporter(jasmineCustom !== null && jasmineCustom !== void 0 ? jasmineCustom : new JasmineAllureReporter_1.JasmineAllureReporter(reporter));
}
exports.addReporter = addReporter;
registerAllureReporter();
{
"name": "jest-allure2-adapter",
"version": "0.1.8",
"version": "0.1.9",
"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