We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68a3cd1 commit 0a7b71cCopy full SHA for 0a7b71c
src/test.ts
@@ -1,6 +1,6 @@
1
import * as fs from "fs";
2
import child_process from "child_process";
3
-import { printInlineDiff } from "print-diff";
+import { printUnifiedDiff } from "print-diff";
4
import { fileURLToPath } from "url";
5
6
const baselineFolder = new URL("../baselines/", import.meta.url);
@@ -65,7 +65,7 @@ function compareToBaselines(baselineFolder: URL, outputFolder: URL) {
65
console.error(
66
`Test failed: '${file}' is different from baseline file.`,
67
);
68
- printInlineDiff(baseline ?? "", generated ?? "");
+ printUnifiedDiff(baseline ?? "", generated ?? "");
69
return false;
70
}
71
0 commit comments