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.4 to 0.3.5

package-lock.json

1

dist/allure-reporter.d.ts

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

endStep(status?: Status, stage?: Stage, details?: StatusDetails | any, end?: number): void;
setHistoryId(fullName: string): void;
endTest(spec: jasmine_.CustomReporterResult): void;

@@ -29,0 +30,0 @@ endGroup(): void;

@@ -114,2 +114,7 @@ "use strict";

}
setHistoryId(fullName) {
const getUuid = require('uuid-by-string');
const id = getUuid(fullName);
this.currentTest.historyId = id;
}
endTest(spec) {

@@ -154,2 +159,3 @@ this.endSteps();

this.applyDescription();
this.setHistoryId(spec.fullName);
this.currentTest.endTest();

@@ -156,0 +162,0 @@ }

6

dist/utils.js

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

function getContent(content, type) {
if (typeof content !== 'string' && type === allure_js_commons_1.ContentType.JSON) {
return JSON.stringify(content);
}
if (typeof content === 'string') {
return stripAnsi(content);
}
if (type === allure_js_commons_1.ContentType.JSON) {
return JSON.stringify(content);
}
return content;
}
exports.getContent = getContent;
{
"name": "jest-allure2-adapter",
"version": "0.3.4",
"version": "0.3.5",
"description": "Allure 2 Adapter for jest",

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

"allure-js-commons": "^2.0.0-beta.8",
"strip-ansi": "^6.0.0"
"strip-ansi": "^6.0.0",
"uuid-by-string": "^3.0.2"
}
}

@@ -265,4 +265,5 @@ # Jest-Allure-2 reporting plugin

- [x] Ability to config (timestamp to step, jira link) (0.2.53)
- [ ] historyId?
- [x] historyId (group retries)
- [ ] Add param to stepStatus to add attachment with details or not
- [ ] Cleanup statusDetails

@@ -292,2 +293,6 @@ ---

#### 0.3.5:
- fixed grouping into retries
#### 0.3.0:

@@ -294,0 +299,0 @@

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