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.10 to 0.1.11

9

dist/AllureReporter.d.ts

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

startGroup(name: string): void;
startTest(name?: string): void;
startTest(spec: any): void;
startStep(name: string): AllureStep;

@@ -66,3 +66,10 @@ endStep(status?: Status, stage?: Stage): void;

owner(owner: string): void;
lead(lead: string): void;
framework(framework: string): void;
language(language: string): void;
as_id(id: string): void;
host(host: string): void;
testClass(testClass: string): void;
testMethod(testMethod: string): void;
severity(severity: Severity): void;
}

@@ -65,4 +65,5 @@ "use strict";

// todo decorators
startTest(name) {
this.runningTest = this.currentGroup.startTest(name);
startTest(spec) {
this.runningTest = this.currentGroup.startTest(spec.description);
this.runningTest.fullName = spec.fullName;
// Capture Jest worker thread for timeline report

@@ -349,2 +350,23 @@ if (process.env.JEST_WORKER_ID) {

}
lead(lead) {
super.label(allure_js_commons_1.LabelName.LEAD, lead);
}
framework(framework) {
super.label(allure_js_commons_1.LabelName.FRAMEWORK, framework);
}
language(language) {
super.label(allure_js_commons_1.LabelName.LANGUAGE, language);
}
as_id(id) {
super.label(allure_js_commons_1.LabelName.AS_ID, id);
}
host(host) {
super.label(allure_js_commons_1.LabelName.HOST, host);
}
testClass(testClass) {
super.label(allure_js_commons_1.LabelName.TEST_CLASS, testClass);
}
testMethod(testMethod) {
super.label(allure_js_commons_1.LabelName.TEST_METHOD, testMethod);
}
severity(severity) {

@@ -351,0 +373,0 @@ super.severity(severity);

2

dist/JasmineAllureReporter.js

@@ -26,3 +26,3 @@ "use strict";

specStarted(spec) {
this.allure.startTest(spec.description);
this.allure.startTest(spec);
}

@@ -29,0 +29,0 @@ specDone(spec) {

{
"name": "jest-allure2-adapter",
"version": "0.1.10",
"version": "0.1.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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc