Skip to content

Commit

Permalink
fix: uninstall custom fakers too (#162)
Browse files Browse the repository at this point in the history
Co-authored-by: Ernest <>
  • Loading branch information
soc221b authored Jun 30, 2024
1 parent 63681d5 commit 56c16ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/zod-type-kind-to-zod-type-faker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,5 @@ export function installCustom<T extends z.ZodType<any, any, any>>(
*/
export const uninstall = (): void => {
zodTypeKindToZodTypeFaker.clear()
zodTypeToZodTypeFaker.clear()
}

0 comments on commit 56c16ae

Please sign in to comment.