Skip to content

Commit

Permalink
refactor: adopt report budgets 8
Browse files Browse the repository at this point in the history
  • Loading branch information
BioPhoton committed Apr 20, 2023
1 parent 6bcb1a1 commit 5acb38e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cli/src/lib/commands/assert/utils/md-report.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ function getTimings(resultsTimingBudget: Table | undefined): undefined | string[
const row = [];
if(label === 'Cumulative Layout Shift') {
return [label + '',
measurement === undefined ? '-' : parseFloat(measurement).toFixed(2) + '---'+measurement,
overBudget === undefined ? '-' : parseFloat(overBudget).toFixed(2)+ '---'+overBudget,
measurement === undefined ? '-' : parseFloat(measurement.value).toFixed(2),
overBudget === undefined ? '-' : parseFloat(overBudget).toFixed(2),
]
} else {
return [label + '',
Expand Down

0 comments on commit 5acb38e

Please sign in to comment.