async function createSpecListForWorkspace(files, workspace, outputPath) {
  let contents = "";
  files.forEach(function (file) {
    contents += `import './${filePathToModuleId(file).replace(
      `packages/${workspace}/Specs/`,
      "",
    )}.js';\n`;
  });

  await writeFile(outputPath, contents, {
    encoding: "utf-8",
  });

  return contents;
}
Creates a single entry point file by importing all individual spec files.
@param {string[]} files The individual spec files.
@param {string} workspace The workspace.
@param {string} outputPath The path the file is written to.