Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjclark committed Apr 17, 2024
1 parent 7b3680f commit 6c162ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions core/scripts/update-report-fixtures.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import * as cli from '../../cli/run.js';
import * as cliFlags from '../../cli/cli-flags.js';
import * as assetSaver from '../lib/asset-saver.js';
import {Server} from '../../cli/test/fixtures/static-server.js';
import budgetedConfig from '../test/results/sample-config.js';
import sampleConfig from '../test/results/sample-config.js';

const artifactPath = 'core/test/results/artifacts';
// All artifacts must have resources from a consistent port, to ensure reproducibility.
Expand All @@ -32,7 +32,7 @@ async function update(artifactNames) {
url,
].join(' ');
const flags = cliFlags.getFlags(rawFlags);
await cli.runLighthouse(url, flags, budgetedConfig);
await cli.runLighthouse(url, flags, sampleConfig);
await server.close();

const newArtifacts = assetSaver.loadArtifacts(artifactPath);
Expand Down
4 changes: 2 additions & 2 deletions core/test/results/sample-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
*/

/** @type {LH.Config} */
const budgetedConfig = {
const sampleConfig = {
extends: 'lighthouse:default',
settings: {
throttlingMethod: 'devtools',
},
};

export default budgetedConfig;
export default sampleConfig;

0 comments on commit 6c162ac

Please sign in to comment.