scripts/generateNewClientTests/getGlobalRequireOutput.ts (11 lines of code) (raw):

import { CLIENTS_TO_TEST } from "./config"; import { getClientNamesSortedByPackageName } from "./getClientNamesSortedByPackageName"; import { getV3ClientsNewExpressionCode } from "./getV3ClientsNewExpressionCode"; import { getV3PackageRequiresCode } from "./getV3PackageRequiresCode"; export const getGlobalRequireOutput = () => { let content = "\n\n"; content += getV3PackageRequiresCode(getClientNamesSortedByPackageName(CLIENTS_TO_TEST)); content += "\n"; content += getV3ClientsNewExpressionCode(CLIENTS_TO_TEST); return content; };