repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Benchmarks: fix workload function
[poolifier.git]
/
tests
/
test-utils.js
diff --git
a/tests/test-utils.js
b/tests/test-utils.js
index a3affb61c91899d187dd91e97f2693cfa7340d0d..9a49c822991c2629ac45280776604cb3be188a04 100644
(file)
--- a/
tests/test-utils.js
+++ b/
tests/test-utils.js
@@
-36,7
+36,7
@@
class TestUtils {
})
}
- static generateRandomInteger (max, min = 0) {
+ static generateRandomInteger (max
= Number.MAX_SAFE_INTEGER
, min = 0) {
max = Math.floor(max)
if (min) {
min = Math.ceil(min)