Skip to content

Commit

Permalink
snap
Browse files Browse the repository at this point in the history
  • Loading branch information
adamraine committed Sep 28, 2023
1 parent efe9862 commit 1836436
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ class UsesResponsiveImagesSnapshot extends Audit {
title: str_(UIStrings.title),
failureTitle: str_(UIStrings.failureTitle),
description: UsesResponsiveImages.str_(UsesResponsiveImages.UIStrings.description),
scoreDisplayMode: Audit.SCORING_MODES.METRIC_SAVINGS,
supportedModes: ['snapshot'],
guidanceLevel: 2,
requiredArtifacts: ['ImageElements', 'ViewportDimensions'],
Expand Down
4 changes: 2 additions & 2 deletions core/test/fixtures/user-flows/reports/sample-flow-result.json
Original file line number Diff line number Diff line change
Expand Up @@ -14373,8 +14373,8 @@
"id": "uses-responsive-images-snapshot",
"title": "Images were larger than their displayed size",
"description": "Serve images that are appropriately-sized to save cellular data and improve load time. [Learn how to size images](https://developer.chrome.com/docs/lighthouse/performance/uses-responsive-images/).",
"score": 0,
"scoreDisplayMode": "binary",
"score": 0.5,
"scoreDisplayMode": "metricSavings",
"details": {
"type": "table",
"headings": [
Expand Down

0 comments on commit 1836436

Please sign in to comment.