Skip to content

Commit

Permalink
test(screencast): do print actual pixels on failure (#3442)
Browse files Browse the repository at this point in the history
  • Loading branch information
yury-s committed Aug 13, 2020
1 parent d9727c6 commit 4bad89f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/screencast.spec.ts
Expand Up @@ -91,7 +91,7 @@ function expectAll(pixels, rgbaPredicate) {
checkPixel(i);
} catch(e) {
// Log pixel values on failure.
console.log(pixels);
e.message += `\n\nActual pixels=[${pixels}]`;
throw e;
}
}
Expand Down

0 comments on commit 4bad89f

Please sign in to comment.