We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5accf4e commit 9343350Copy full SHA for 9343350
tests/verify.ts
@@ -237,6 +237,12 @@ export const ensureSnapshotMatches = (
237
name: "Inspecting Snapshot",
238
verify: async (_output: ExecuteOutput[]) => {
239
const good = await checkSnapshot(file);
240
+ if (!good) {
241
+ console.log("output:");
242
+ console.log(await Deno.readTextFile(file));
243
+ console.log("snapshot:");
244
+ console.log(await Deno.readTextFile(file + ".snapshot"));
245
+ }
246
assert(
247
good,
248
`Snapshot ${file}.snapshot doesn't match output`,
0 commit comments