scripts/generateNewClientTests/getServiceImportDeepStarInput.ts (12 lines of code) (raw):

import { CLIENTS_TO_TEST } from "./config"; import { getClientDeepImportPath } from "./getClientDeepImportPath"; import { getV2ClientsNewExpressionCode } from "./getV2ClientsNewExpressionCode"; export const getServiceImportDeepStarInput = () => { let content = ""; for (const clientName of CLIENTS_TO_TEST) { content += `import * as ${clientName} from "${getClientDeepImportPath(clientName)}";\n`; } content += "\n"; content += getV2ClientsNewExpressionCode(CLIENTS_TO_TEST); return content; };