From a2764779781b9a1904ae51b45f03bc46b9fcbbe2 Mon Sep 17 00:00:00 2001 From: Shane Exterkamp Date: Thu, 7 Jan 2021 12:58:08 -0800 Subject: [PATCH] Add Field Data Wording for CLS and LCP (#121) --- lib/utils.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/utils.js b/lib/utils.js index 5f553aa..065aa14 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -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';