Merge pull request #337 from brendankenny/noinput

disable input readiness audit until correct
This commit is contained in:
Paul Irish 2016-05-17 23:30:07 -07:00
Родитель 800a4a2302 f68413fb75
Коммит 19e07b2317
2 изменённых файлов: 8 добавлений и 6 удалений

Просмотреть файл

@ -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'),