assertthat
Version:
assertthat provides fluent TDD.
11 lines (8 loc) • 304 B
text/typescript
import { ErrorDiff } from '../../diffs/forErrors/ErrorDiff';
import { prettyPrintDiff } from '../typeAware/prettyPrintDiff';
const prettyPrintErrorDiff = function (diff: ErrorDiff, depth = 0): string {
return `Error(${prettyPrintDiff(diff.objectDiff, depth)})`;
};
export {
prettyPrintErrorDiff
};