Skip to content

Commit

Permalink
Make random test fail less often (#3597)
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelbsky authored Mar 3, 2025
1 parent 3832019 commit 98aa023
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/crypto/tests/random.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ describe('randomIntFromSeed()', () => {
}
const [zero, one] = counts
expect(zero + one).toEqual(10000)
expect(Math.max(zero, one) / Math.min(zero, one)).toBeLessThan(1.05)
expect(Math.max(zero, one) / Math.min(zero, one)).toBeLessThan(1.1)
})
})

0 comments on commit 98aa023

Please sign in to comment.