Skip to content

Commit

Permalink
Light house pref (#430)
Browse files Browse the repository at this point in the history
 fix: remove applied throttling
  • Loading branch information
VeenaYemmiganur authored Jul 14, 2022
1 parent b33f13a commit f63ae38
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions lighthouserc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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;
Expand Down

0 comments on commit f63ae38

Please sign in to comment.