Set diffDirection

This commit is contained in:
John Hildenbiddle
2020-07-23 02:18:13 -04:00
parent a91634ed6c
commit 5b5c895fd0
+2
View File
@@ -7,6 +7,8 @@ const toMatchImageSnapshot = configureToMatchImageSnapshot({
customSnapshotIdentifier(data) {
return `${data.defaultIdentifier}-${browserName}`;
},
diffDirection: 'vertical',
noColors: true,
});
expect.extend({ toMatchImageSnapshot });