Skip to content

Commit eb7d629

Browse files
committed
feat(plugin-lighthouse): omit audit details table title
1 parent 06b177f commit eb7d629

File tree

4 files changed

+0
-5
lines changed

4 files changed

+0
-5
lines changed

packages/plugin-lighthouse/src/lib/runner/details/details.unit.test.ts

-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ describe('toAuditDetails', () => {
8989

9090
expect(outputs).toStrictEqual({
9191
table: {
92-
title: 'Table',
9392
columns: [
9493
{
9594
key: 'name',

packages/plugin-lighthouse/src/lib/runner/details/table.type.ts

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ export function parseTableToAuditDetailsTable(
1919

2020
try {
2121
return tableSchema().parse({
22-
title: 'Table',
2322
columns: parseTableColumns(rawHeadings),
2423
rows: items.map(row => parseTableRow(row, rawHeadings)),
2524
});

packages/plugin-lighthouse/src/lib/runner/details/table.type.unit.test.ts

-2
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ describe('parseTableToAuditDetails', () => {
9393
} satisfies Details.Table);
9494

9595
expect(outputs).toStrictEqual({
96-
title: 'Table',
9796
columns: [
9897
{
9998
key: 'statistic',
@@ -219,7 +218,6 @@ describe('parseTableToAuditDetails', () => {
219218
} as Details.Table);
220219

221220
expect(outputs).toEqual({
222-
title: 'Table',
223221
columns: [
224222
{
225223
align: 'left',

packages/plugin-lighthouse/src/lib/runner/utils.unit.test.ts

-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ describe('toAuditOutputs', () => {
150150
table: {
151151
columns: [{ key: 'number', align: 'left' }],
152152
rows: [{ number: 42 }],
153-
title: 'Table',
154153
},
155154
});
156155
});

0 commit comments

Comments
 (0)