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

@@ -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: [