Skip to content

The open alternative to Salesforce, designed for AI.

373 B
Raw Blame
import { getProfilingQueueIdentifier } from '~/testing/profiling/utils/getProfilingQueueIdentifier';

export const getTestArray = (
  profilingId: string,
  numberOfTestsPerRun: number,
  runName: string,
) => {
  const testArray = Array.from({ length: numberOfTestsPerRun }, (_, i) =>
    getProfilingQueueIdentifier(profilingId, i, runName),
  );

  return testArray;
};