remove logs

This commit is contained in:
Ofir Pardo 2024-04-16 17:57:31 +03:00
parent 0f48469c96
commit 47fc364be7

View file

@ -175,8 +175,6 @@ export function filterForShardFromTimingFile(timingFile: JSONReport, shard: { to
const shardsMapping = mapTestDetailsToShards(testDetails, shard);
const testIds = shardsMapping[shard.current - 1].map(shardDetails => shardDetails.id);
const recordedTests = testGroups.filter(group => testIds.includes(group.tests[0].id));
// console.log(shardsMapping);
// console.log(testDetails.length);
const result = new Set<TestGroup>();
recordedTests.forEach(group => result.add(group));
@ -258,9 +256,5 @@ function mapTestDetailsToShards(testDetails: testDetails[], shard: {total: numbe
sums[minIndex] += testDetailsObj.duration;
}
for (let i = 0; i < shard.total; i++) {
console.log(`Total duration for array ${i + 1}: ${sums[i]}`);
}
return result;
}