Skip to content

Commit

Permalink
Adding jSON.parse to assert message
Browse files Browse the repository at this point in the history
  • Loading branch information
axelssonHakan committed May 15, 2018
1 parent f96382c commit d6fc092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/protractor/plugins/screenshoter/utils.js
Expand Up @@ -143,7 +143,7 @@ const utils = {
comparison.isEqual === true,
`expected ${id} equality to be less than ${tolerance}, but was ${comparison.equality}`,
`expected ${id} equality to be greater than ${tolerance}, but was ${comparison.equality}`,
expected,
JSON.stringify(expected),
actual
);
return comparison;
Expand Down

0 comments on commit d6fc092

Please sign in to comment.