more info in tests

This commit is contained in:
Anton Lavrenov
2019-01-19 10:26:21 -05:00
parent cab03b5a88
commit 3002891f5e
4 changed files with 29 additions and 31 deletions

View File

@@ -144,6 +144,10 @@ function compareCanvases(canvas1, canvas2, tol) {
b.appendChild(canvas2);
c.appendChild(diffCanvas);
var base64 = diffCanvas.getContext('2d').toDataURL();
console.error('Diff image:');
console.error(base64);
div.appendChild(b);
div.appendChild(c);
konvaContainer.appendChild(div);