Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: pass down diff options (#2545)
  • Loading branch information
sheremet-va committed 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
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.