Merge pull request #337 from brendankenny/noinput
disable input readiness audit until correct
This commit is contained in:
Коммит
19e07b2317
|
@ -25,8 +25,9 @@ const firstMeaningfulPaint = require('../../audits/performance/first-meaningful-
|
|||
/** @type {string} */
|
||||
const speedIndexMetric = require('../../audits/performance/speed-index-metric').name;
|
||||
|
||||
// TODO: https://github.com/GoogleChrome/lighthouse/issues/336
|
||||
/** @type {string} */
|
||||
const inputReadinessMetric = require('../../audits/performance/input-readiness-metric').name;
|
||||
// const inputReadinessMetric = require('../../audits/performance/input-readiness-metric').name;
|
||||
|
||||
class IsPerformant extends Aggregate {
|
||||
|
||||
|
@ -69,10 +70,10 @@ class IsPerformant extends Aggregate {
|
|||
value: 100,
|
||||
weight: 1
|
||||
};
|
||||
criteria[inputReadinessMetric] = {
|
||||
value: 100,
|
||||
weight: 1
|
||||
};
|
||||
// criteria[inputReadinessMetric] = {
|
||||
// value: 100,
|
||||
// weight: 1
|
||||
// };
|
||||
|
||||
criteria['scrolling-60fps'] = {
|
||||
value: true,
|
||||
|
|
|
@ -43,7 +43,8 @@ const audits = [
|
|||
require('./audits/mobile-friendly/display'),
|
||||
require('./audits/performance/first-meaningful-paint'),
|
||||
require('./audits/performance/speed-index-metric'),
|
||||
require('./audits/performance/input-readiness-metric'),
|
||||
// TODO: https://github.com/GoogleChrome/lighthouse/issues/336
|
||||
// require('./audits/performance/input-readiness-metric'),
|
||||
require('./audits/manifest/exists'),
|
||||
require('./audits/manifest/background-color'),
|
||||
require('./audits/manifest/theme-color'),
|
||||
|
|
Загрузка…
Ссылка в новой задаче