New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@estruyf/github-actions-reporter

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@estruyf/github-actions-reporter - npm Package Compare versions

Comparing version

to
1.5.1-beta.8206408

4

CHANGELOG.md

@@ -5,2 +5,6 @@ # Changelog

## [1.6.0]
- [#10](https://github.com/estruyf/playwright-github-actions-reporter/issues/10): Added support for test annotations, tags, and describe titles per test
## [1.5.1]

@@ -7,0 +11,0 @@

4

dist/utils/getHtmlTable.test.js

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

<tr>
<td colspan="4"><strong>info</strong>: Annotation 1</td>
<td colspan="4"><b>info</b>: Annotation 1</td>
</tr>

@@ -232,3 +232,3 @@ <tr>

<tr>
<td colspan="6"><strong>info</strong>: Annotation 1</td>
<td colspan="6"><b>info</b>: Annotation 1</td>
</tr>

@@ -235,0 +235,0 @@ <tr>

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

{
data: "info: Annotation 1\ninfo: Annotation 2",
data: "<b>info</b>: Annotation 1\n<b>info</b>: Annotation 2",
header: false,

@@ -179,3 +179,3 @@ colspan: "4",

],
[{ data: "doc: Annotation 3", header: false, colspan: "4" }],
[{ data: "<b>doc</b>: Annotation 3", header: false, colspan: "4" }],
[

@@ -226,3 +226,3 @@ { data: "Test 2", header: false },

clonedTableHeaders,
[{ data: "info: Annotation 1", header: false, colspan: "6" }],
[{ data: "<b>info</b>: Annotation 1", header: false, colspan: "6" }],
[

@@ -229,0 +229,0 @@ { data: "Test 1", header: false },

@@ -10,5 +10,3 @@ "use strict";

for (const annotation of test.annotations) {
const type = isHtml
? `<strong>${annotation.type}</strong>`
: annotation.type;
const type = `<b>${annotation.type}</b>`;
list.push(`${type}: ${annotation.description}`);

@@ -15,0 +13,0 @@ }

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

const result = (0, getTestAnnotations_1.getTestAnnotations)(test);
expect(result).toBe("bug: This is a bug\nfeature: This is a feature");
expect(result).toBe("<b>bug</b>: This is a bug\n<b>feature</b>: This is a feature");
});

@@ -26,3 +26,3 @@ it("should return single line annotations when there is only one annotation", () => {

const result = (0, getTestAnnotations_1.getTestAnnotations)(test);
expect(result).toBe("bug: This is a bug");
expect(result).toBe("<b>bug</b>: This is a bug");
});

@@ -37,3 +37,3 @@ it("should return the HTML formatted annotations when isHtml is set to true", () => {

const result = (0, getTestAnnotations_1.getTestAnnotations)(test, true);
expect(result).toBe("<strong>bug</strong>: This is a bug<br><strong>feature</strong>: This is a feature");
expect(result).toBe("<b>bug</b>: This is a bug<br><b>feature</b>: This is a feature");
});

@@ -40,0 +40,0 @@ it("should return an empty string if test.annotations is an empty array", () => {

{
"name": "@estruyf/github-actions-reporter",
"version": "1.5.1-beta.8205947",
"version": "1.5.1-beta.8206408",
"description": "GitHub Actions reporter for Playwright",

@@ -5,0 +5,0 @@ "main": "dist/index.js",