🐛 (step) fix fixture step method with estimation non nullable

This commit is contained in:
Julien Calixte
2023-04-08 12:18:31 +02:00
parent 48f6067ead
commit d2242184dd

View File

@@ -6,5 +6,5 @@ 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 partialStep?.estimation ?? 0
) )