Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickhulce committed May 8, 2018
1 parent aeca344 commit de1d458
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ class FirstContentfulPaint extends MetricArtifact {
get COEFFICIENTS() {
return {
intercept: 600,
optimistic: .6,
pessimistic: .5,
optimistic: 0.6,
pessimistic: 0.5,
};
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ class FirstMeaningfulPaint extends MetricArtifact {
get COEFFICIENTS() {
return {
intercept: 900,
optimistic: .45,
pessimistic: .6,
optimistic: 0.45,
pessimistic: 0.6,
};
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ class Interactive extends MetricArtifact {
get COEFFICIENTS() {
return {
intercept: 1600,
optimistic: .6,
pessimistic: .45,
optimistic: 0.6,
pessimistic: 0.45,
};
}

Expand Down
2 changes: 1 addition & 1 deletion lighthouse-core/test/audits/first-meaningful-paint-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ describe('Performance: first-meaningful-paint audit', () => {
const context = {options, settings: {throttlingMethod: 'simulate'}};
const fmpResult = await FMPAudit.audit(artifacts, context);

assert.equal(fmpResult.score, 0.79);
assert.equal(fmpResult.score, 0.92);
assert.equal(Util.formatDisplayValue(fmpResult.displayValue), '2,850\xa0ms');
assert.equal(Math.round(fmpResult.rawValue), 2851);
});
Expand Down

0 comments on commit de1d458

Please sign in to comment.