chore: update faker functions (2)

This commit is contained in:
Simon Lecoq committed 2023-07-24 21:59:32 -04:00
1 parent cea9e4307e
commit eedfb0490f
5 files changed
+39 -39

No files matched your search

+3 -3
View File
@@ -64,9 +64,9 @@ export default function({faker, url, body, login = faker.internet.userName()}) {
],
matchedUser: {
problemsSolvedBeatsStats: [
{difficulty: "Easy", percentage: faker.datatype.float({max: 100})},
{difficulty: "Medium", percentage: faker.datatype.float({max: 100})},
{difficulty: "Hard", percentage: faker.datatype.float({max: 100})},
{difficulty: "Easy", percentage: faker.number.float({max: 100})},
{difficulty: "Medium", percentage: faker.number.float({max: 100})},
{difficulty: "Hard", percentage: faker.number.float({max: 100})},
],
submitStatsGlobal: {
acSubmissionNum: [