jest-allure2-adapter
Advanced tools
Comparing version 0.2.53 to 0.3.0
@@ -46,3 +46,3 @@ "use strict"; | ||
if (this.descriptionParts.length > 0) { | ||
this.descriptionHtml(this.descriptionParts.join('<br>')); | ||
this.descriptionHtml(this.descriptionParts.join('')); | ||
} | ||
@@ -49,0 +49,0 @@ this.initDescription(); |
@@ -28,3 +28,2 @@ /// <reference types="node" /> | ||
addParameters(...params: [string, any][]): this; | ||
/** This is a description of the foo function. */ | ||
description(description: string): void; | ||
@@ -31,0 +30,0 @@ descriptionHtml(description: string): void; |
{ | ||
"name": "jest-allure2-adapter", | ||
"version": "0.2.53", | ||
"version": "0.3.0", | ||
"description": "Allure 2 Adapter for jest", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index", |
@@ -223,3 +223,3 @@ # Jest-Allure-2 reporting plugin | ||
- [ ] Add examples | ||
- [x] Ability to config (timestamp to step, jira link) | ||
- [x] Ability to config (timestamp to step, jira link) (0.2.53) | ||
- [ ] historyId? | ||
@@ -250,7 +250,7 @@ | ||
#### 0.2.53: | ||
#### 0.3.0: | ||
- added ability to configure reporter: | ||
- resultsDir: where allure results are stored, default `allure-results` | ||
- stepTimestamp: add time stamp to step or not, false by default | ||
- stepTimestamp: add timestamp to step or not, false by default | ||
- addStepStatusDetailsAttachment: add step status details attachment (status details doesn't work in report, so this is workaround), buy default false | ||
@@ -261,2 +261,12 @@ - tmsLink / issueLink: links pattern for adding issues (`tmsLink: (id) => http://someissue.com/${id}`) | ||
- added addDescription (adds html description to test). Previously there was only ability to SET description. | ||
- ex: | ||
```javascript | ||
allure.test.addDescription('<h1>Heading</h1><br>'); | ||
... | ||
allure.test.addDescription('line<br>'); | ||
``` | ||
It will add description to test `<h1>Heading</h1><br>line<br>` | ||
- cleanup | ||
@@ -263,0 +273,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
39138
307
777