Skip to content

Commit 58833a9

Browse files
committed
- look to further modify formatting
1 parent 11d2c3e commit 58833a9

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

__tests__/table.test.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ describe('buildSummaryTables', () => {
8080
],
8181
[
8282
{
83-
"data": "checkName",
83+
"data": "**checkName**",
8484
"colspan": "2"
8585
}
8686
],
@@ -129,13 +129,13 @@ describe('buildSummaryTables', () => {
129129
],
130130
[
131131
{
132-
"data": "checkName",
132+
"data": "**checkName**",
133133
"colspan": "2"
134134
}
135135
],
136136
[
137137
{
138-
"data": "ABC-0199: XMPP Ping",
138+
"data": "*ABC-0199: XMPP Ping*",
139139
"colspan": "2"
140140
}
141141
],
@@ -149,7 +149,7 @@ describe('buildSummaryTables', () => {
149149
],
150150
[
151151
{
152-
"data": "ABC-0045: Multi-User Chat",
152+
"data": "*ABC-0045: Multi-User Chat*",
153153
"colspan": "2"
154154
}
155155
],

dist/index.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/table.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export function buildSummaryTables(
5959
detailsTable.push([{data: `No test annotations available`, colspan: '2'}])
6060
} else {
6161
if (detailedSummary) {
62-
detailsTable.push([{data: `${testResult.checkName}`, colspan: '2'}])
62+
detailsTable.push([{data: `**${testResult.checkName}**`, colspan: '2'}])
6363
if (!groupSuite) {
6464
for (const annotation of annotations) {
6565
detailsTable.push([
@@ -83,7 +83,7 @@ export function buildSummaryTables(
8383
if (flakySummary) {
8484
const flakyAnnotations = annotations.filter(annotation => annotation.retries > 0)
8585
if (flakyAnnotations.length > 0) {
86-
flakyTable.push([{data: `${testResult.checkName}`, colspan: '2'}])
86+
flakyTable.push([{data: `**${testResult.checkName}**`, colspan: '2'}])
8787
for (const annotation of flakyAnnotations) {
8888
flakyTable.push([`${annotation.title}`, `${annotation.retries}`])
8989
}
@@ -103,7 +103,7 @@ function appendDetailsTable(
103103
annotation => includePassed || annotation.annotation_level !== 'notice'
104104
)
105105
if (annotations.length > 0) {
106-
detailsTable.push([{data: `${testResult.name}`, colspan: '2'}])
106+
detailsTable.push([{data: `*${testResult.name}*`, colspan: '2'}])
107107
for (const annotation of annotations) {
108108
detailsTable.push([
109109
`${annotation.title}`,

0 commit comments

Comments
 (0)