From f63ae3839516739527ff5f7a5ee48aec49b904d0 Mon Sep 17 00:00:00 2001 From: VeenaYemmiganur <104062026+VeenaYemmiganur@users.noreply.github.com> Date: Thu, 14 Jul 2022 16:06:57 +0530 Subject: [PATCH] Light house pref (#430) fix: remove applied throttling --- lighthouserc.js | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/lighthouserc.js b/lighthouserc.js index 488e17518..d453d767a 100644 --- a/lighthouserc.js +++ b/lighthouserc.js @@ -8,8 +8,7 @@ const lhciConfig = { url: JSON.parse(process.env.LHCI_SITES), // A URL to run Lighthouse on settings: { emulatedFormFactor: "mobile", - throttlingMethod: "devtools" - } + }, }, assert: { preset: "lighthouse:no-pwa", @@ -31,15 +30,15 @@ const lhciConfig = { "categories:performance": ["error", { minScore: 0.6 }], // this should be 0.7. Change to 0.7 once perf fixes are done "image-alt": "warn", "link-text": "warn", - "unsized-images": "warn" - } + "unsized-images": "warn", + }, }, upload: { target: "lhci", serverBaseUrl: url, - token: `${process.env.LH_BUILD_TOKEN}` - } - } + token: `${process.env.LH_BUILD_TOKEN}`, + }, + }, }; module.exports = lhciConfig;