Migrated tests to jest
Used jest-codemods to migrate, will have to pass everything by hand before we can merge.
This commit is contained in:
3
test5/randomIntArrayInRange/randomIntArrayInRange.js
Normal file
3
test5/randomIntArrayInRange/randomIntArrayInRange.js
Normal file
@ -0,0 +1,3 @@
|
||||
const randomIntArrayInRange = (min, max, n = 1) =>
|
||||
Array.from({ length: n }, () => Math.floor(Math.random() * (max - min + 1)) + min);
|
||||
module.exports = randomIntArrayInRange;
|
||||
Reference in New Issue
Block a user