We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b53d38 commit dd054e6Copy full SHA for dd054e6
1 file changed
src/harness/harness.ts
@@ -2020,7 +2020,11 @@ namespace Harness {
2020
else {
2021
IO.writeFile(actualFileName, encodedActual);
2022
}
2023
- throw new Error(`The baseline file ${relativeFileName} has changed.`);
+ throw new _chai.AssertionError(`The baseline file ${relativeFileName} has changed.`, {
2024
+ expected,
2025
+ actual,
2026
+ showDiff: true
2027
+ });
2028
2029
2030
0 commit comments