diff --git a/src/printer.ts b/src/printer.ts index 4891042..d5f5553 100644 --- a/src/printer.ts +++ b/src/printer.ts @@ -62,18 +62,19 @@ export class ErrorsPrinter { * Parsers chai assertion error */ async #parseAssertionError(error: any): Promise { - const parsedError = error - if (error.showDiff) { - console.error() - // const { actual, expected } = error - // const diff = jestDiff(expected, actual, { - // expand: true, - // includeChangeCounts: true, - // }) - // parsedError.message = `${parsedError.message}\n${diff}` - } - - return parsedError + return error + // const parsedError = error + // if (error.showDiff) { + // console.error() + // // const { actual, expected } = error + // // const diff = jestDiff(expected, actual, { + // // expand: true, + // // includeChangeCounts: true, + // // }) + // // parsedError.message = `${parsedError.message}\n${diff}` + // } + + // return parsedError } /**