diff options
| author | ST-DDT <[email protected]> | 2025-02-09 20:17:43 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-02-09 19:17:43 +0000 |
| commit | 9c42195a753015ab4f5775ef8af3aa5b172cfb08 (patch) | |
| tree | f91d114ef9e71dbe1babb5ea4f724f8afa91b5a1 /test/utils | |
| parent | 9e1395380cf9baf9f0350c43cbbc303430e77dfb (diff) | |
| download | faker-9c42195a753015ab4f5775ef8af3aa5b172cfb08.tar.xz faker-9c42195a753015ab4f5775ef8af3aa5b172cfb08.zip | |
test: enable test to generate Number.MAX_SAFE_INTEGER (#3393)
Diffstat (limited to 'test/utils')
| -rw-r--r-- | test/utils/mersenne-test-utils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/utils/mersenne-test-utils.ts b/test/utils/mersenne-test-utils.ts index ee7a43da..f48b5810 100644 --- a/test/utils/mersenne-test-utils.ts +++ b/test/utils/mersenne-test-utils.ts @@ -14,4 +14,4 @@ export const TWISTER_53CO_MAX_VALUE = 0.9999999999999999; /** * The maximum value that can be returned by `next()`. */ -export const MERSENNE_MAX_VALUE = TWISTER_32CO_MAX_VALUE; +export const MERSENNE_MAX_VALUE = TWISTER_53CO_MAX_VALUE; |
