From 253a4e44ea9fceef792013522808dd48751c2948 Mon Sep 17 00:00:00 2001 From: Joshua <122133403+datashard@users.noreply.github.com> Date: Mon, 24 Apr 2023 10:36:12 +0200 Subject: [PATCH] Better readability in Snapshot Difference (#10) Makes the Readability of the JSON much easier, because it's not properly indented --- src/utils/snapshots/snapshot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/snapshots/snapshot.js b/src/utils/snapshots/snapshot.js index ba07477..dd0c9c3 100644 --- a/src/utils/snapshots/snapshot.js +++ b/src/utils/snapshots/snapshot.js @@ -64,7 +64,7 @@ const set_snapshot = ( }; throw new Error( - `Snapshot Difference.\nPlease Update the Snapshot\n\n\t${json.message}` + `Snapshot Difference found.\nPlease Update the Snapshot\n\n${json.message.replaceAll(' ', ' ')}` ); }); }