fix(plugins/pagespeed): add placeholder for PWA (#1113) [skip ci]

This commit is contained in:
Jayant Goel
2022-06-27 02:41:05 +05:30
committed by GitHub
parent c07912eebb
commit 005a9d633d
2 changed files with 3 additions and 2 deletions

View File

@@ -653,6 +653,7 @@
{score: faker.datatype.float({max: 1}), title: "Accessibility"},
{score: faker.datatype.float({max: 1}), title: "Best Practices"},
{score: faker.datatype.float({max: 1}), title: "SEO"},
... options["pagespeed.pwa"] ? [{score : faker.datatype.number({max: 1}), title: "PWA"}] : []
],
metrics: {
observedFirstContentfulPaint: faker.datatype.number(500),