File tree Expand file tree Collapse file tree 2 files changed +15
-15
lines changed
scripts/generateNewClientTests Expand file tree Collapse file tree 2 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 1- import { CLIENTS_TO_TEST } from "./config" ;
2- import { getClientNameWithLocalSuffix } from "./getClientNameWithLocalSuffix" ;
3- import { getV3ClientsNewExpressionCode } from "./getV3ClientsNewExpressionCode" ;
4- import { getV3PackageImportsCode } from "./getV3PackageImportsCode" ;
1+ import { getServiceImportDeepWithNameOutput } from "./getServiceImportDeepWithNameOutput" ;
52
6- export const getServiceImportDeepStarWithNameOutput = ( codegenComment : string ) => {
7- let content = `${ codegenComment } \n` ;
8-
9- content += getV3PackageImportsCode ( CLIENTS_TO_TEST , { useLocalSuffix : true } ) ;
10- content += `\n` ;
11- content += getV3ClientsNewExpressionCode ( CLIENTS_TO_TEST . map ( getClientNameWithLocalSuffix ) ) ;
12-
13- return content ;
14- } ;
3+ export const getServiceImportDeepStarWithNameOutput = getServiceImportDeepWithNameOutput ;
Original file line number Diff line number Diff line change 1- import { getServiceImportDeepStarWithNameOutput } from "./getServiceImportDeepStarWithNameOutput" ;
1+ import { CLIENTS_TO_TEST } from "./config" ;
2+ import { getClientNameWithLocalSuffix } from "./getClientNameWithLocalSuffix" ;
3+ import { getV3ClientsNewExpressionCode } from "./getV3ClientsNewExpressionCode" ;
4+ import { getV3PackageImportsCode } from "./getV3PackageImportsCode" ;
25
3- export const getServiceImportDeepWithNameOutput = getServiceImportDeepStarWithNameOutput ;
6+ export const getServiceImportDeepWithNameOutput = ( codegenComment : string ) => {
7+ let content = `${ codegenComment } \n` ;
8+
9+ content += getV3PackageImportsCode ( CLIENTS_TO_TEST , { useLocalSuffix : true } ) ;
10+ content += `\n` ;
11+ content += getV3ClientsNewExpressionCode ( CLIENTS_TO_TEST . map ( getClientNameWithLocalSuffix ) ) ;
12+
13+ return content ;
14+ } ;
You can’t perform that action at this time.
0 commit comments