with real estimation

This commit is contained in:
Julien Calixte
2023-04-08 18:33:00 +02:00
parent a7b74a5756
commit 9870caac1f

View File

@@ -6,5 +6,9 @@ export const createStepFixture = (partialStep?: Partial<Stepable>) =>
new Step( new Step(
partialStep?.id ?? faker.datatype.uuid(), partialStep?.id ?? faker.datatype.uuid(),
partialStep?.title ?? faker.animal.bird(), partialStep?.title ?? faker.animal.bird(),
partialStep?.estimation ?? 0 partialStep?.estimation ??
faker.datatype.number({
min: 0,
max: 40
})
) )