Skip to content

Commit

Permalink
fix: pass down diff options (#2545)
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va authored Dec 21, 2022
1 parent 8dc1c3c commit 98c94e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vitest/src/node/error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ export async function printError(error: unknown, ctx: Vitest, options: PrintErro
displayDiff(stringify(e.actual), stringify(e.expected), ctx.logger.console, {
outputTruncateLength: ctx.config.outputTruncateLength,
outputDiffLines: ctx.config.outputDiffLines,
outputDiffMaxLines: ctx.config.outputDiffMaxLines,
})
}
}
Expand Down

0 comments on commit 98c94e6

Please sign in to comment.