Better readability in Snapshot Difference (#10)

Makes the Readability of the JSON much easier, because it's not properly indented
This commit is contained in:
Joshua 2023-04-24 10:36:12 +02:00 committed by GitHub
parent 4316f5e1c2
commit 253a4e44ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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(' ', ' ')}`
);
});
}