Socket
Socket
Sign inDemoInstall

jest-allure2-adapter

Package Overview
Dependencies
5
Maintainers
1
Versions
100
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.14 to 0.2.15

8

dist/AllureReporter.d.ts
/// <reference types="node" />
import { Allure, AllureGroup, AllureStep, AllureTest, Attachment, Category, ContentType, ExecutableItemWrapper, IAllureConfig, LinkType, Stage, Status, StepInterface, Severity } from 'allure-js-commons';
import { AllureReporterApi, jasmine } from './index';
import { AllureReporterApi, jasmine_ } from './index';
export declare const dateStr: () => string;

@@ -19,3 +19,3 @@ export declare class AllureReporter extends Allure implements AllureReporterApi {

startGroup(name: string): void;
startTest(spec: jasmine.CustomReporterResult): void;
startTest(spec: jasmine_.CustomReporterResult): void;
startStep(name: string, start?: number): AllureStep;

@@ -25,3 +25,3 @@ endStep(status?: Status, stage?: Stage, end?: number): void;

private applyGroupping;
endTest(spec: jasmine.CustomReporterResult): void;
endTest(spec: jasmine_.CustomReporterResult): void;
get currentStep(): AllureStep | null;

@@ -41,3 +41,3 @@ writeCategories(categories: Category[]): void;

addParameters(...params: [string, any][]): this;
addTestPathParameter(relativeFrom: string, spec: jasmine.CustomReporterResult): this;
addTestPathParameter(relativeFrom: string, spec: jasmine_.CustomReporterResult): this;
addLink(options: {

@@ -44,0 +44,0 @@ name?: string;

@@ -5,4 +5,3 @@ /// <reference types="node" />

import { AllureStep, Attachment, Category, ContentType, LinkType, Severity, Stage, Status, StepInterface } from 'allure-js-commons';
export declare namespace jasmine {
function getEnv(): any;
export declare namespace jasmine_ {
interface CustomReporter {

@@ -29,6 +28,6 @@ jasmineStarted?(suiteInfo: any): void;

startGroup(name: string): void;
startTest(spec: jasmine.CustomReporterResult): void;
startTest(spec: jasmine_.CustomReporterResult): void;
startStep(name: string, start?: number): AllureStep;
endStep(status?: Status, stage?: Stage, end?: number): void;
endTest(spec: jasmine.CustomReporterResult): void;
endTest(spec: jasmine_.CustomReporterResult): void;
writeCategories(categories: Category[]): void;

@@ -45,3 +44,3 @@ endGroup(): void;

addParameters(...params: [string, any][]): this;
addTestPathParameter(relativeFrom: string, spec: jasmine.CustomReporterResult): this;
addTestPathParameter(relativeFrom: string, spec: jasmine_.CustomReporterResult): this;
addLink(options: {

@@ -48,0 +47,0 @@ name?: string;

@@ -1,9 +0,9 @@

import { AllureReporterApi, jasmine } from './index';
export declare class JasmineAllureReporter implements jasmine.CustomReporter {
import { AllureReporterApi, jasmine_ } from './index';
export declare class JasmineAllureReporter implements jasmine_.CustomReporter {
private allure;
constructor(allure: AllureReporterApi);
suiteStarted(suite?: jasmine.CustomReporterResult): void;
suiteStarted(suite?: jasmine_.CustomReporterResult): void;
suiteDone(): void;
specStarted(spec: jasmine.CustomReporterResult): void;
specDone(spec: jasmine.CustomReporterResult): void;
specStarted(spec: jasmine_.CustomReporterResult): void;
specDone(spec: jasmine_.CustomReporterResult): void;
}
import { AllureReporter } from './AllureReporter';
import { AllureReporterApi, jasmine } from './index';
export declare function registerAllureReporter(jasmineCustom?: (r: AllureReporterApi) => jasmine.CustomReporter): void;
import { AllureReporterApi, jasmine_ } from './index';
export declare function registerAllureReporter(jasmineCustom?: (r: AllureReporterApi) => jasmine_.CustomReporter): void;
declare global {
export const reporter: AllureReporter;
}

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

const JasmineAllureReporter_1 = require("./JasmineAllureReporter");
const index_1 = require("./index");
function registerAllureReporter(jasmineCustom) {
const reporter = (global.reporter = new AllureReporter_1.AllureReporter());
// (global as any).reporter = new AllureReporter();
index_1.jasmine
jasmine
.getEnv()

@@ -13,0 +12,0 @@ .addReporter(jasmineCustom

{
"name": "jest-allure2-adapter",
"version": "0.2.14",
"version": "0.2.15",
"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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc