UNPKG

@contract-case/case-plugin-base

Version:

Plugin framework for writing plugins for the ContractCase test framework

23 lines 857 B
/** * Converts actual data into a string, for printing * @public * @param actual - the actual data that ContractCase encountered * @param indent - how many spaces to indent this string * @returns a printable string */ export declare const actualToString: <T>(actual: T, indent?: number) => string; /** * Converts a matcher or data into a human friendly string for printing * @public * @remarks * This is currently the same implementation as {@link actualToString} * * TODO: Add a better implementation that walks the tree and prints something * like the DSL does for easy readability * * @param actual - the matcher descriptor * @param indent - how many spaces to indent this string * @returns a printable string */ export declare const matcherToString: <T>(actual: T, indent?: number) => string; //# sourceMappingURL=renderActual.d.ts.map