Make random number bigger than 1000

This commit is contained in:
Nora
2024-01-25 09:47:19 +00:00
parent d5932fc1de
commit 12a3af0a75

View File

@@ -131,7 +131,7 @@ const manyScannedRepos = Array.from({ length: 1000 }, (_, i) => {
const mockedScannedRepo = createMockScannedRepo();
const randomInt = uniqueNumbers.pop();
const uniqueId =
randomInt === undefined ? Math.floor(Math.random() * 100000) : randomInt;
randomInt === undefined ? Math.random() * 8000 + 1001 : randomInt;
return {
...mockedScannedRepo,