Skip to content

Commit c20606e

Browse files
committed
Fix build issue
1 parent 5e55757 commit c20606e

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

graphql/codegen/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export type { GenerateOptions, GenerateResult } from './core/generate';
2929
export { findConfigFile, loadConfigFile } from './core/config';
3030

3131
// CLI shared utilities (for packages/cli to import)
32-
export { codegenQuestions, splitCommas, printResult } from './cli/shared';
32+
export { codegenQuestions, splitCommas, printResult, camelizeArgv } from './cli/shared';
3333
export type { CodegenAnswers } from './cli/shared';
3434

3535
// Database schema utilities (re-exported from core for convenience)

packages/cli/__tests__/codegen.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jest.mock('@constructive-io/graphql-codegen', () => {
3535
process.exit(1);
3636
}
3737
}),
38+
camelizeArgv: jest.fn((argv: Record<string, any>) => argv),
3839
};
3940
})
4041

0 commit comments

Comments
 (0)