Skip to content

Commit

Permalink
don't mess with auditMode right now.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish committed Oct 26, 2018
1 parent 9ccee72 commit e4817a8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 0 additions & 3 deletions lighthouse-core/lib/proto-preprocessor.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ function processForProto(result) {
reportJson.configSettings.output = [reportJson.configSettings.output];
}
}

// Remove until we resolve its string|boolean state
delete reportJson.configSettings.auditMode;
}

// Remove runtimeError if it is NO_ERROR
Expand Down
5 changes: 5 additions & 0 deletions lighthouse-core/scripts/cleanup-LHR-for-diff.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ function cleanAndFormatLHR(lhrString) {
/** @type {LH.Result} */
const lhr = JSON.parse(lhrString);

// TODO: Include this, but resolve
// 1) the string|boolean story for proto
// 2) Travis gets a absolute path during yarn diff:sample-json
delete lhr.configSettings.auditMode;

// Set timing values, which change from run to run, to predicable values
lhr.timing.total = 12345.6789;
lhr.timing.entries.forEach(entry => {
Expand Down
1 change: 0 additions & 1 deletion lighthouse-core/test/results/sample_v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -2736,7 +2736,6 @@
"uploadThroughputKbps": 675,
"cpuSlowdownMultiplier": 4
},
"auditMode": "./lighthouse-core/test/results/artifacts",
"gatherMode": false,
"disableStorageReset": false,
"disableDeviceEmulation": false,
Expand Down

0 comments on commit e4817a8

Please sign in to comment.