We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9829236 commit 46e1e7bCopy full SHA for 46e1e7b
1 file changed
test/utils.js
@@ -3,12 +3,12 @@
3
const crypto = require('crypto');
4
5
function getRandomString(text){
6
- const randomInt = crypto.randomBytes(4).readUInt32BE(0) % 100000 + 1;
+ const randomInt = crypto.randomBytes(4).readUInt32BE(0);
7
return text + randomInt;
8
}
9
10
function getRandomInt(){
11
- return crypto.randomBytes(4).readUInt32BE(0) % 100000 + 1;
+ return crypto.randomBytes(4).readUInt32BE(0);
12
13
14
function getRandomAmount(){
0 commit comments