Add console log when snapshots are not equal
@@ -8,14 +8,12 @@ expect.extend({
message: () => `snapshots are equal`,
pass: true
}
- }
-
- // console.log(received.data.toString('hex'))
- // console.log(original.data.toString('hex'))
-
+ } else {
+ console.log("snapshots are not equal")
return {
message: () => `snapshots are not equal`,
pass: false
}
+ }
},
});
\ No newline at end of file
