Skip to content

Commit

Permalink
Add Field Data Wording for CLS and LCP (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
exterkamp authored Jan 7, 2021
1 parent 54cd244 commit a276477
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ const chalk = require('chalk');

const humanizeTitleMap = {
FIRST_CONTENTFUL_PAINT_MS: 'First Contentful Paint (FCP)',
FIRST_INPUT_DELAY_MS: 'First Input Delay (FID)'
FIRST_INPUT_DELAY_MS: 'First Input Delay (FID)',
CUMULATIVE_LAYOUT_SHIFT_SCORE: 'Cumulative Layout Shift (CLS)',
LARGEST_CONTENTFUL_PAINT_MS: 'Largest Contentful Paint (LCP)'
};

exports.divider = '\n' + chalk.grey('-'.repeat(56)) + '\n';
Expand Down

0 comments on commit a276477

Please sign in to comment.