Skip to content

Commit 98c94e6

Browse files
authoredDec 21, 2022
fix: pass down diff options (#2545)
1 parent 8dc1c3c commit 98c94e6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎packages/vitest/src/node/error.ts

+1
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ export async function printError(error: unknown, ctx: Vitest, options: PrintErro
8989
displayDiff(stringify(e.actual), stringify(e.expected), ctx.logger.console, {
9090
outputTruncateLength: ctx.config.outputTruncateLength,
9191
outputDiffLines: ctx.config.outputDiffLines,
92+
outputDiffMaxLines: ctx.config.outputDiffMaxLines,
9293
})
9394
}
9495
}

0 commit comments

Comments
 (0)
Please sign in to comment.