Skip to content

Commit

Permalink
fix(frontend): fix flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
Falinor committed Aug 12, 2024
1 parent 5f563d9 commit 65c5a87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/test/fixtures.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,8 @@ export function genProspect(): Prospect {
}

export function genGroup(): Group {
const ownerCount = faker.number.int(10);
const housingCount = ownerCount + faker.number.int(10);
const ownerCount = faker.number.int({ min: 1, max: 10 });
const housingCount = ownerCount + faker.number.int({ min: 1, max: 10 });
return {
id: randomstring.generate(),
title: randomstring.generate(),
Expand Down

0 comments on commit 65c5a87

Please sign in to comment.