chore: update faker functions (2)

This commit is contained in:
Simon Lecoq
2023-07-24 21:59:32 -04:00
parent cea9e4307e
commit eedfb0490f
5 changed files with 39 additions and 39 deletions

View File

@@ -43,12 +43,12 @@ export default function({faker, url, options, login = faker.internet.userName()}
maxPotentialFID: faker.number.int(500),
observedLoad: faker.number.int(500),
firstMeaningfulPaint: faker.number.int(500),
observedCumulativeLayoutShift: faker.datatype.float({max: 1}),
observedCumulativeLayoutShift: faker.number.float({max: 1}),
observedSpeedIndex: faker.number.int(1000),
observedSpeedIndexTs: faker.date.recent(),
observedTimeOriginTs: faker.date.recent(),
observedLargestContentfulPaint: faker.number.int(1000),
cumulativeLayoutShift: faker.datatype.float({max: 1}),
cumulativeLayoutShift: faker.number.float({max: 1}),
observedFirstPaintTs: faker.date.recent(),
observedTraceEndTs: faker.date.recent(),
largestContentfulPaint: faker.number.int(2000),
@@ -78,22 +78,22 @@ export default function({faker, url, options, login = faker.internet.userName()}
"best-practices": {
id: "best-practices",
title: "Best Practices",
score: faker.datatype.float({max: 1}),
score: faker.number.float({max: 1}),
},
seo: {
id: "seo",
title: "SEO",
score: faker.datatype.float({max: 1}),
score: faker.number.float({max: 1}),
},
accessibility: {
id: "accessibility",
title: "Accessibility",
score: faker.datatype.float({max: 1}),
score: faker.number.float({max: 1}),
},
performance: {
id: "performance",
title: "Performance",
score: faker.datatype.float({max: 1}),
score: faker.number.float({max: 1}),
},
pwa: {
id: "pwa",