UNPKG

dockest

Version:

Dockest is an integration testing tool aimed at alleviating the process of evaluating unit tests whilst running multi-container Docker applications.

14 lines (13 loc) 455 B
import { ZodError } from 'zod'; /** * Format a ZodError into a string with a newline per issue * * Completely missing fields in an object will be output as `Required at "path.to.field"` * * There's a hard limit of 100 issues in the message, so if you have more than 100 issues, you'll get a truncated message. */ export declare function formatZodError(zodError: ZodError, /** * The Zod model's name, E.g. "Person". */ modelName: string): string;