We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e88d68a commit 3ec1a81Copy full SHA for 3ec1a81
tests/e2e/run.js
@@ -6,7 +6,11 @@ import { argv } from "node:process";
6
import { readFileSync } from "node:fs";
7
8
function getDiff(s1, s2) {
9
- const handleEscape = (c) => c.split("\n").map(l => l.length === 0 ? "\xB6" : l).join("\n")
+ const handleEscape = (c) =>
10
+ c
11
+ .split("\n")
12
+ .map((l) => (l.length === 0 ? "\xB6" : l))
13
+ .join("\n");
14
return diffLines(s1, s2)
15
.map((part) => {
16
if (part.added) {
0 commit comments