Description
cli.test.ts is described as "CLI integration" but it manually calls parseContractId and generateTypescript — the same units already covered by fetcher.test.ts and codegen.test.ts. It does not test fetchCommand or the CLI entry point at all.
Location
tests/unit/cli.test.ts
Expected
Either rewrite to actually exercise fetchCommand (import and call its run with mock args), or delete and replace with proper command-level tests.
Description
cli.test.tsis described as "CLI integration" but it manually callsparseContractIdandgenerateTypescript— the same units already covered byfetcher.test.tsandcodegen.test.ts. It does not testfetchCommandor the CLI entry point at all.Location
tests/unit/cli.test.tsExpected
Either rewrite to actually exercise
fetchCommand(import and call itsrunwith mock args), or delete and replace with proper command-level tests.