Skip to content

Commit

Permalink
extremely basic tests pass
Browse files Browse the repository at this point in the history
  • Loading branch information
asarazan committed May 2, 2024
1 parent f24887d commit 15e8bb9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/martok/processing/zod/ZodProcessor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ export class ZodProcessor {
const fullText = zod.fullText;
const renamed = fullText.replace(zod.identifier, `__${zod.identifier}`);
return `${renamed}
/**
* @expand
**/
export ${zod.identifier} = z.infer<typeof __${zod.identifier}>`;
/**
* @expand
*/
export type ${zod.identifier} = z.infer<typeof __${zod.identifier}>;`;

Check warning on line 58 in src/martok/processing/zod/ZodProcessor.ts

View workflow job for this annotation

GitHub Actions / Coverage annotations (🧪 jest-coverage-report-action)

🧾 Statement is not covered

Warning! Not covered statement
}

private getText(file: SourceFile): string {
Expand Down

0 comments on commit 15e8bb9

Please sign in to comment.